Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.0008622/0.0008622, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008734/0.0008734, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.8756/0.8756, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] 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.QuadraticCoreAirgap,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.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.135e-06/9.217e-06, allocations: 2.312 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004794/0.004803, allocations: 6.412 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.007388, allocations: 2.474 MB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.007609, allocations: 24 kB / 282.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.009418, allocations: 1.998 MB / 284.3 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007678/0.01019, allocations: 0.5664 MB / 284.9 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.01145, allocations: 1.284 MB / 286.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007488/0.0122, allocations: 1.159 MB / 287.3 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.01299, allocations: 0.8915 MB / 288.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.01352, allocations: 0.6976 MB / 288.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.01401, allocations: 498.6 kB / 289.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.0141, allocations: 104 kB / 289.5 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004781/0.01458, allocations: 427.4 kB / 289.9 MB, free: 428 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.0147, allocations: 251 kB / 290.2 MB, free: 176 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09137/0.1061, allocations: 382.7 kB / 290.5 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.1076, allocations: 1.19 MB / 291.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1076, allocations: 0 / 291.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1076, allocations: 0.875 kB / 291.7 MB, free: 16.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.31e-05/0.1076, allocations: 0 / 291.7 MB, free: 16.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003358/0.111, allocations: 2.051 MB / 293.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.111, allocations: 15.05 kB / 293.8 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.113, allocations: 0.7463 MB / 294.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1132, allocations: 242 kB / 294.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.677e-05/0.1132, allocations: 98.08 kB / 294.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1134, allocations: 133.2 kB / 295 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1144, allocations: 0.9348 MB / 295.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.1145, allocations: 4.016 kB / 295.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.1145, allocations: 56.91 kB / 296 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1146, allocations: 35.22 kB / 296 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.1152, allocations: 431.8 kB / 296.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.1183, allocations: 2.65 MB / 299.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.1191, allocations: 0.8049 MB / 299.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1194, allocations: 218.6 kB / 300.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.1195, allocations: 46.92 kB / 300.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.1195, allocations: 47.88 kB / 300.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.966e-06/0.1195, allocations: 0 / 300.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.001793/0.1213, allocations: 1.258 MB / 301.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1213, allocations: 92.27 kB / 301.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1215, allocations: 354.1 kB / 301.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1215, allocations: 45.52 kB / 301.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1216, allocations: 450.7 kB / 302.4 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1218, allocations: 437.1 kB / 302.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.1219, allocations: 218.4 kB / 303 MB, free: 13.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.122, allocations: 381.4 kB / 303.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1221, allocations: 143.2 kB / 303.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1223, allocations: 431.7 kB / 304 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1228, allocations: 0.6401 MB / 304.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.1228, allocations: 3.156 kB / 304.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0006366/0.1234, allocations: 0.7412 MB / 305.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1234, allocations: 8.156 kB / 305.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.1234, allocations: 7.5 kB / 305.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004706/0.1239, allocations: 244.5 kB / 305.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.1244, allocations: 252.8 kB / 305.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1257, allocations: 3.352 MB / 309.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.126, allocations: 120.6 kB / 309.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1261, allocations: 42.97 kB / 309.4 MB, free: 9.816 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.1262, allocations: 180 kB / 309.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.1263, allocations: 76.36 kB / 309.6 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.1269, allocations: 0.6846 MB / 310.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1269, allocations: 13.47 kB / 310.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1269, allocations: 7.375 kB / 310.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1269, allocations: 6.844 kB / 310.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1281, allocations: 1.24 MB / 311.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1281, allocations: 0 / 311.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.1285, allocations: 182 kB / 311.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.1289, allocations: 207.6 kB / 311.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1289, allocations: 27.94 kB / 312 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.13, allocations: 3.225 MB / 315.2 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.13, allocations: 0 / 315.2 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.1307, allocations: 0.8734 MB / 316.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.1308, allocations: 106.4 kB / 316.2 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.1309, allocations: 22.69 kB / 316.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.131, allocations: 35.98 kB / 316.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.1311, allocations: 88.55 kB / 316.3 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1312, allocations: 27.98 kB / 316.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.798e-05/0.1312, allocations: 129.8 kB / 316.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1312, allocations: 0 / 316.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.1318, allocations: 371.2 kB / 316.8 MB, free: 3.578 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 101 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.132, allocations: 150.5 kB / 317 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006483/0.1326, allocations: 0.9011 MB / 317.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.1326, allocations: 10.31 kB / 317.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.1329, allocations: 0.5999 MB / 318.5 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1332, allocations: 69.48 kB / 318.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1349, allocations: 1.668 MB / 320.2 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.168e-05/0.1349, allocations: 191.7 kB / 320.4 MB, free: 0 / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.1353, allocations: 134.4 kB / 320.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.1355, allocations: 163.3 kB / 320.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1355, allocations: 2.844 kB / 320.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of Templates: time 0.01271/0.1482, allocations: 10.7 MB / 331.4 MB, free: 5.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6923508010804653]