Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001753/0.001753, allocations: 81.7 kB / 21.25 MB, free: 0.5469 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.001492/0.001492, allocations: 160 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 61.17 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/0.09032, allocations: 53.4 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006581/0.0969, allocations: 4.579 MB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003785/0.1007, allocations: 2.024 MB / 385.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.1009, allocations: 16 kB / 385.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.1041, allocations: 1.369 MB / 386.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009584/0.1051, allocations: 429.3 kB / 387.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.1074, allocations: 1.132 MB / 388.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008686/0.1082, allocations: 0.7472 MB / 389.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008677/0.1091, allocations: 0.5636 MB / 389.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.1096, allocations: 346.8 kB / 390.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.1101, allocations: 390.3 kB / 390.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.873e-05/0.1102, allocations: 68 kB / 390.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.1109, allocations: 391.6 kB / 391 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.111, allocations: 171.4 kB / 391.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.1114, allocations: 302.6 kB / 391.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1128, allocations: 1.218 MB / 392.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1128, allocations: 3.984 kB / 392.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1128, allocations: 0 / 392.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1128, allocations: 0 / 392.6 MB, free: 1.691 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004392/0.1172, allocations: 1.413 MB / 394.1 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1172, allocations: 15.98 kB / 394.1 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.1199, allocations: 364.1 kB / 394.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1202, allocations: 197.5 kB / 394.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.1202, allocations: 70.36 kB / 394.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.1204, allocations: 80.38 kB / 394.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.1221, allocations: 0.8969 MB / 395.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1221, allocations: 3.953 kB / 395.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.1222, allocations: 39.98 kB / 395.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.1222, allocations: 20 kB / 395.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.1241, allocations: 0.7886 MB / 396.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.1283, allocations: 2.292 MB / 398.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1295, allocations: 0.5193 MB / 399.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.13, allocations: 214.2 kB / 399.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-05/0.1301, allocations: 28.47 kB / 399.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1301, allocations: 39.06 kB / 399.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.1301, allocations: 0 / 399.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007429/0.1375, allocations: 2.175 MB / 401.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.1376, allocations: 85.61 kB / 401.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.138, allocations: 319.9 kB / 402.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.138, allocations: 33.7 kB / 402.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.1382, allocations: 375.9 kB / 402.6 MB, free: 7.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1384, allocations: 222.1 kB / 402.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.1386, allocations: 154.5 kB / 402.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1388, allocations: 346.8 kB / 403.3 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.1397, allocations: 273.8 kB / 403.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.1407, allocations: 0.5333 MB / 404.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.1425, allocations: 0.8087 MB / 404.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1425, allocations: 0 / 404.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002181/0.1446, allocations: 0.9011 MB / 405.8 MB, free: 4.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1447, allocations: 8 kB / 405.8 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1447, allocations: 8 kB / 405.8 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.1449, allocations: 73.61 kB / 405.9 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000897/0.1458, allocations: 195.7 kB / 406.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.148, allocations: 2.616 MB / 408.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.1486, allocations: 59.91 kB / 408.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.1487, allocations: 39.98 kB / 408.8 MB, free: 0.7969 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.000279/0.149, allocations: 213.5 kB / 409 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1491, allocations: 47.78 kB / 409 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.1511, allocations: 0.718 MB / 409.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1511, allocations: 7.984 kB / 409.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1511, allocations: 7.984 kB / 409.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1511, allocations: 4 kB / 409.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.1537, allocations: 1.208 MB / 411 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1537, allocations: 0 / 411 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.1544, allocations: 139.8 kB / 411.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.1546, allocations: 57.67 kB / 411.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.1546, allocations: 19.98 kB / 411.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.1567, allocations: 2.589 MB / 413.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1567, allocations: 4.031 kB / 413.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.1594, allocations: 1.074 MB / 414.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.1596, allocations: 91.67 kB / 415 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.1597, allocations: 8 kB / 415 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.1602, allocations: 48.02 kB / 415 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1603, allocations: 52.34 kB / 415.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.1603, allocations: 23.98 kB / 415.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.1606, allocations: 207.1 kB / 415.3 MB, free: 10 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1606, allocations: 0 / 415.3 MB, free: 10 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007277/0.1613, allocations: 180 kB / 415.5 MB, free: 9.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.0002579/0.1616, allocations: 167 kB / 415.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.1636, allocations: 0.8729 MB / 416.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1636, allocations: 0 / 416.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1646, allocations: 0.5234 MB / 417 MB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1651, allocations: 54.92 kB / 417.1 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1677, allocations: 1.2 MB / 418.3 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.168, allocations: 286.8 kB / 418.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.1684, allocations: 88.39 kB / 418.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1686, allocations: 52.48 kB / 418.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1686, allocations: 0 / 418.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of Templates: time 0.01356/0.1821, allocations: 6.461 MB / 425.2 MB, free: 132 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.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: 4.65878244698979]