Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 230.4 MB / 255.4 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.84 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09669, allocations: 53.32 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004231/0.1009, allocations: 2.873 MB / 430.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1024, allocations: 0.7867 MB / 431.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.1025, allocations: 12 kB / 431.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1027, allocations: 63.44 kB / 431.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.103, allocations: 103.2 kB / 431.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1033, allocations: 103.8 kB / 432 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1931/0.2964, allocations: 403.1 kB / 432.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.2967, allocations: 95.5 kB / 432.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.2971, allocations: 162.2 kB / 432.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.2974, allocations: 172.2 kB / 432.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.2974, allocations: 33.88 kB / 432.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.2975, allocations: 34.28 kB / 432.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.2976, allocations: 83.72 kB / 433 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.2977, allocations: 177.1 kB / 433.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2982, allocations: 407.6 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2982, allocations: 1.281 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2982, allocations: 0.9688 kB / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.2982, allocations: 0 / 433.5 MB, free: 8.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001091/0.2993, allocations: 0.659 MB / 434.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2993, allocations: 8.719 kB / 434.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.2994, allocations: 41.55 kB / 434.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.2997, allocations: 280.9 kB / 434.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.2997, allocations: 28.34 kB / 434.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.2998, allocations: 31.69 kB / 434.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.3003, allocations: 290.8 kB / 434.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3003, allocations: 3.938 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3003, allocations: 13.5 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.3003, allocations: 9.562 kB / 434.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.3009, allocations: 254.2 kB / 435.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3023, allocations: 1.119 MB / 436.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.3027, allocations: 139.4 kB / 436.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3029, allocations: 69.56 kB / 436.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3029, allocations: 2.922 kB / 436.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.303, allocations: 39.11 kB / 436.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.303, allocations: 1.594 kB / 436.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00211/0.3051, allocations: 0.5997 MB / 437.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3051, allocations: 53.94 kB / 437.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3054, allocations: 284.6 kB / 437.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3054, allocations: 29.73 kB / 437.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3055, allocations: 231.8 kB / 437.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3056, allocations: 76.64 kB / 437.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3057, allocations: 65.41 kB / 437.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.3057, allocations: 347.4 kB / 438.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.3061, allocations: 94.33 kB / 438.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.3064, allocations: 198.2 kB / 438.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.307, allocations: 299.3 kB / 438.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.307, allocations: 1.156 kB / 438.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008471/0.3078, allocations: 397.1 kB / 439.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3078, allocations: 7.281 kB / 439.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3078, allocations: 7.188 kB / 439.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.3081, allocations: 62.66 kB / 439.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3084, allocations: 78.08 kB / 439.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3099, allocations: 2.833 MB / 442.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.3102, allocations: 25 kB / 442.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3102, allocations: 16.8 kB / 442.1 MB, free: 2.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3103, allocations: 153.2 kB / 442.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.3104, allocations: 28.09 kB / 442.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.3104, allocations: 31.55 kB / 442.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3104, allocations: 3.375 kB / 442.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3104, allocations: 4.406 kB / 442.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3105, allocations: 2.531 kB / 442.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.3108, allocations: 337 kB / 442.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3108, allocations: 4.297 kB / 442.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.311, allocations: 40.53 kB / 442.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.3112, allocations: 55.69 kB / 442.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3112, allocations: 5.891 kB / 442.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3127, allocations: 2.836 MB / 445.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3127, allocations: 1.562 kB / 445.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008335/0.3136, allocations: 375.2 kB / 446 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.3137, allocations: 100.8 kB / 446.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3137, allocations: 6.938 kB / 446.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3139, allocations: 20.66 kB / 446.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.314, allocations: 15.3 kB / 446.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.314, allocations: 13.03 kB / 446.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.3143, allocations: 197.9 kB / 446.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 1.188 kB / 446.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.3147, allocations: 75.44 kB / 446.4 MB, free: 14.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.3149, allocations: 113.3 kB / 446.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.316, allocations: 480.8 kB / 447 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.316, allocations: 0 / 447 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.3165, allocations: 337.1 kB / 447.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3168, allocations: 31.55 kB / 447.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.318, allocations: 0.588 MB / 448 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.3185, allocations: 0.7735 MB / 448.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.3186, allocations: 27.67 kB / 448.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3186, allocations: 4.5 kB / 448.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.00944/0.328, allocations: 6.138 MB / 454.9 MB, free: 12.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.071166777051985]