Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.001246/0.001246, allocations: 88.86 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.000928/0.000928, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.8608/0.8608, allocations: 177 MB / 205.2 MB, free: 5.047 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/1.041e-05, allocations: 5.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003042/0.003053, allocations: 3.461 MB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004117, allocations: 0.9849 MB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.004264, allocations: 11.94 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.004455, allocations: 103 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.004721, allocations: 174.6 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.004954, allocations: 171.6 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.005346, allocations: 0.6655 MB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.005519, allocations: 138.6 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.005782, allocations: 363.2 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.005965, allocations: 203.4 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.006018, allocations: 52 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.006062, allocations: 52 kB / 279.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.006127, allocations: 127.4 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.00624, allocations: 187.5 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.006531, allocations: 414.3 kB / 280.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006534, allocations: 3.984 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006534, allocations: 4 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006539, allocations: 0 / 280.5 MB, free: 9.949 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0007092/0.007248, allocations: 0.7606 MB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.007276, allocations: 15.98 kB / 281.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.00735, allocations: 80.88 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.007578, allocations: 245.4 kB / 281.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.007606, allocations: 37.69 kB / 281.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.007652, allocations: 52.38 kB / 281.6 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.007953, allocations: 319.7 kB / 281.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007964, allocations: 4.125 kB / 282 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.007987, allocations: 23.94 kB / 282 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007995, allocations: 12 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.008166, allocations: 142.4 kB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.009319, allocations: 1.04 MB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.009554, allocations: 196.5 kB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.009668, allocations: 93.41 kB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.00969, allocations: 8.312 kB / 283.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.009709, allocations: 38.89 kB / 283.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.009711, allocations: 0 / 283.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001368/0.01108, allocations: 0.9188 MB / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.0111, allocations: 55.91 kB / 284.5 MB, free: 5.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.0113, allocations: 359.1 kB / 284.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.01132, allocations: 37.7 kB / 284.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.01141, allocations: 285.2 kB / 285.1 MB, free: 5.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.01149, allocations: 198.3 kB / 285.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.01159, allocations: 106.2 kB / 285.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.01167, allocations: 366.6 kB / 285.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.01175, allocations: 61.28 kB / 285.9 MB, free: 4.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01187, allocations: 187.1 kB / 286 MB, free: 4.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.01209, allocations: 296.1 kB / 286.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01209, allocations: 0 / 286.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004172/0.01251, allocations: 442.2 kB / 286.8 MB, free: 3.352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01252, allocations: 8.406 kB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01253, allocations: 0 / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.013, allocations: 221.5 kB / 287 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.01321, allocations: 103.9 kB / 287.1 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09211/0.1053, allocations: 3.287 MB / 290.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.1057, allocations: 26.03 kB / 290.4 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1057, allocations: 17.16 kB / 290.4 MB, free: 23.54 MB / 266.7 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1058, allocations: 147.2 kB / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.1059, allocations: 43.98 kB / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.475e-05/0.1059, allocations: 60.72 kB / 290.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1059, allocations: 5.781 kB / 290.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.106, allocations: 6.094 kB / 290.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.106, allocations: 2.578 kB / 290.7 MB, free: 23.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.1069, allocations: 0.7274 MB / 291.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1069, allocations: 1.266 kB / 291.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.1071, allocations: 62.64 kB / 291.5 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.1075, allocations: 214.7 kB / 291.7 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1075, allocations: 11.22 kB / 291.7 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.1089, allocations: 3.173 MB / 294.9 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1089, allocations: 2.219 kB / 294.9 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.1093, allocations: 457.7 kB / 295.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1094, allocations: 40.78 kB / 295.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1094, allocations: 8.672 kB / 295.4 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1095, allocations: 17.03 kB / 295.4 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.1096, allocations: 56.11 kB / 295.4 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1096, allocations: 11.02 kB / 295.4 MB, free: 20.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1097, allocations: 153.3 kB / 295.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1097, allocations: 0 / 295.6 MB, free: 20.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.1102, allocations: 149.5 kB / 295.7 MB, free: 20.41 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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 9.128e-05/0.1103, allocations: 92.08 kB / 295.8 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.1108, allocations: 0.5926 MB / 296.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.1108, allocations: 5.469 kB / 296.4 MB, free: 20.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1111, allocations: 443.3 kB / 296.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.1113, allocations: 46.42 kB / 296.9 MB, free: 19.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.1123, allocations: 0.894 MB / 297.8 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.1124, allocations: 131.2 kB / 297.9 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.1125, allocations: 46.09 kB / 298 MB, free: 19.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1126, allocations: 93.28 kB / 298.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1126, allocations: 0 / 298.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of Templates: time 0.008483/0.1211, allocations: 5.459 MB / 303.5 MB, free: 18.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/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.4866126501001418]