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.001637/0.001637, allocations: 82.17 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.002022/0.002022, allocations: 160.2 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.479/1.479, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.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 0.001945/0.001945, allocations: 57.94 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.0917, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007963/0.09966, allocations: 5.949 MB / 384.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.1038, allocations: 2.308 MB / 387.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.1041, allocations: 20 kB / 387.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004206/0.1083, allocations: 1.847 MB / 389.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.1096, allocations: 0.5433 MB / 389.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.1122, allocations: 1.249 MB / 390.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1135, allocations: 1.117 MB / 392 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.1146, allocations: 0.8214 MB / 392.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.1152, allocations: 494.2 kB / 393.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007103/0.1159, allocations: 0.5444 MB / 393.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.116, allocations: 100 kB / 393.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.1168, allocations: 431.6 kB / 394.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.117, allocations: 243.1 kB / 394.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.1175, allocations: 465.8 kB / 395 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1193, allocations: 1.669 MB / 396.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1193, allocations: 7.984 kB / 396.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1193, allocations: 0 / 396.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.1194, allocations: 0 / 396.7 MB, free: 13.59 MB / 366.1 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.006305/0.1257, allocations: 1.983 MB / 398.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1257, allocations: 16.03 kB / 398.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.1293, allocations: 495.7 kB / 399.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1296, allocations: 244.9 kB / 399.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.1297, allocations: 106.9 kB / 399.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.1299, allocations: 128.3 kB / 399.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.1323, allocations: 1.325 MB / 401 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.1324, allocations: 7.938 kB / 401 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.1325, allocations: 52 kB / 401 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.1325, allocations: 36 kB / 401.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.1352, allocations: 1.177 MB / 402.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/0.1414, allocations: 3.336 MB / 405.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.1436, allocations: 1.151 MB / 406.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009413/0.1445, allocations: 456 kB / 407.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.1446, allocations: 48.89 kB / 407.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.1447, allocations: 43.56 kB / 407.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.956e-06/0.1447, allocations: 0 / 407.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01049/0.1552, allocations: 3.536 MB / 410.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.1553, allocations: 98.11 kB / 410.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.1557, allocations: 389.3 kB / 411.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.1558, allocations: 45.7 kB / 411.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.1561, allocations: 460.6 kB / 411.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.1564, allocations: 448.1 kB / 412.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.1568, allocations: 231.5 kB / 412.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.157, allocations: 370.8 kB / 412.8 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.158, allocations: 443.7 kB / 413.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.1594, allocations: 0.7092 MB / 414 MB, free: 11.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.1618, allocations: 1.179 MB / 415.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1618, allocations: 4 kB / 415.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003258/0.1651, allocations: 1.459 MB / 416.6 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1651, allocations: 15.88 kB / 416.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1651, allocations: 4 kB / 416.6 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/0.1657, allocations: 209.4 kB / 416.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.1669, allocations: 287.6 kB / 417.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.1714, allocations: 4.064 MB / 421.2 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.1723, allocations: 79.83 kB / 421.2 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.1724, allocations: 55.98 kB / 421.3 MB, free: 4.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0004207/0.1728, allocations: 265.5 kB / 421.6 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1729, allocations: 67.58 kB / 421.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.1761, allocations: 1.323 MB / 422.9 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.1761, allocations: 16 kB / 423 MB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1761, allocations: 4 kB / 423 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1761, allocations: 3.984 kB / 423 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.1807, allocations: 2.189 MB / 425.2 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.1807, allocations: 0 / 425.2 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.1817, allocations: 211.7 kB / 425.4 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.1822, allocations: 165.7 kB / 425.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.1822, allocations: 31.98 kB / 425.6 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004164/0.1864, allocations: 3.897 MB / 429.5 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1864, allocations: 0 / 429.5 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.1904, allocations: 1.869 MB / 431.3 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.1908, allocations: 147.7 kB / 431.5 MB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1909, allocations: 27.94 kB / 431.5 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.1916, allocations: 59.94 kB / 431.6 MB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.1918, allocations: 100.8 kB / 431.7 MB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.1919, allocations: 35.98 kB / 431.7 MB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.1922, allocations: 255.2 kB / 431.9 MB, free: 9.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1922, allocations: 0 / 431.9 MB, free: 9.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001117/0.1933, allocations: 300.3 kB / 432.2 MB, free: 9.016 MB / 398.1 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 (106): * Single equations (assignments): 104 * 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.0003048/0.1936, allocations: 175 kB / 432.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.1967, allocations: 1.399 MB / 433.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1967, allocations: 3.938 kB / 433.8 MB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.1982, allocations: 0.8075 MB / 434.6 MB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.1987, allocations: 66.34 kB / 434.7 MB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.2027, allocations: 1.893 MB / 436.6 MB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.2032, allocations: 420.3 kB / 437 MB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005495/0.2038, allocations: 138.6 kB / 437.1 MB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.204, allocations: 76.47 kB / 437.2 MB, free: 3.914 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.204, allocations: 0 / 437.2 MB, free: 3.914 MB / 398.1 MB Notification: Performance of Templates: time 0.02021/0.2242, allocations: 10.28 MB / 447.5 MB, free: 9.762 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.820461519062519]