Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 190.9 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 247.1 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 48.06 kB / 358.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 49.44 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004419/0.1061, allocations: 2.837 MB / 410.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1076, allocations: 0.7477 MB / 411.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1077, allocations: 8 kB / 411.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.108, allocations: 67.36 kB / 411.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1082, allocations: 95.19 kB / 411.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1085, allocations: 111.8 kB / 412 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.1089, allocations: 398.5 kB / 412.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1092, allocations: 118.9 kB / 412.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1094, allocations: 167.3 kB / 412.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1097, allocations: 175.2 kB / 412.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.1098, allocations: 36 kB / 412.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.1098, allocations: 35.94 kB / 412.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.1099, allocations: 79.67 kB / 412.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1101, allocations: 171.1 kB / 413.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.1106, allocations: 406.3 kB / 413.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1106, allocations: 0 / 413.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1106, allocations: 0 / 413.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1106, allocations: 0 / 413.5 MB, free: 1.457 MB / 334.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.001228/0.1118, allocations: 0.6622 MB / 414.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1119, allocations: 8.031 kB / 414.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.112, allocations: 40.7 kB / 414.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1124, allocations: 284.7 kB / 414.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1124, allocations: 25.03 kB / 414.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.1125, allocations: 32.38 kB / 414.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.1131, allocations: 290.4 kB / 414.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1132, allocations: 0 / 414.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1132, allocations: 8 kB / 414.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1132, allocations: 8 kB / 414.9 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.1139, allocations: 258.5 kB / 415.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1158, allocations: 1.116 MB / 416.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.1163, allocations: 158.5 kB / 416.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.1165, allocations: 68.73 kB / 416.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1165, allocations: 4 kB / 416.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.1165, allocations: 34.56 kB / 416.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.747e-06/0.1165, allocations: 0 / 416.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002182/0.1187, allocations: 0.5939 MB / 417.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1188, allocations: 59.34 kB / 417.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.1191, allocations: 282.5 kB / 417.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1191, allocations: 29.7 kB / 417.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1193, allocations: 232 kB / 417.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.1194, allocations: 79.38 kB / 417.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1195, allocations: 65.66 kB / 417.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1197, allocations: 334.8 kB / 418.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.12, allocations: 99.92 kB / 418.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.1204, allocations: 203.9 kB / 418.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.121, allocations: 306.8 kB / 418.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.121, allocations: 0 / 418.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009089/0.122, allocations: 397.3 kB / 419.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.122, allocations: 8 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.122, allocations: 4 kB / 419.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.1223, allocations: 61.8 kB / 419.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.1226, allocations: 71.83 kB / 419.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.1249, allocations: 2.841 MB / 422.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.1253, allocations: 27.97 kB / 422.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1253, allocations: 8 kB / 422.1 MB, free: 8.172 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.0001759/0.1255, allocations: 161.7 kB / 422.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1255, allocations: 23.86 kB / 422.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.1256, allocations: 30.17 kB / 422.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1256, allocations: 0 / 422.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1256, allocations: 4 kB / 422.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1257, allocations: 144 / 422.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.1261, allocations: 337.4 kB / 422.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1261, allocations: 0 / 422.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.1263, allocations: 39.95 kB / 422.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.1265, allocations: 61.61 kB / 422.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1265, allocations: 8 kB / 422.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.1288, allocations: 2.833 MB / 425.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1288, allocations: 0 / 425.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.1296, allocations: 379.6 kB / 426 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.1297, allocations: 112.8 kB / 426.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1297, allocations: 4 kB / 426.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.1299, allocations: 15.92 kB / 426.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.13, allocations: 23.97 kB / 426.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.13, allocations: 8 kB / 426.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.1302, allocations: 194 kB / 426.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1302, allocations: 0 / 426.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000401/0.1307, allocations: 76 kB / 426.4 MB, free: 3.508 MB / 350.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.0001317/0.1308, allocations: 99.25 kB / 426.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1318, allocations: 493.5 kB / 427 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1318, allocations: 4.188 kB / 427 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.1324, allocations: 345.2 kB / 427.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1327, allocations: 25.31 kB / 427.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1338, allocations: 0.5817 MB / 427.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.1343, allocations: 0.7714 MB / 428.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.1344, allocations: 31.42 kB / 428.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1344, allocations: 0 / 428.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Templates: time 0.1755/0.3099, allocations: 6.025 MB / 434.8 MB, free: 21.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.5599462379468605]