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.0009797/0.0009797, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.001155/0.001155, allocations: 162 kB / 24.82 MB, free: 8.875 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 1.054/1.054, allocations: 177 MB / 205.1 MB, free: 5.473 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.202e-06/1.202e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.21e-05, allocations: 5.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003678/0.0037, allocations: 3.457 MB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.004801, allocations: 0.9423 MB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.00494, allocations: 8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.005104, allocations: 99.03 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.005376, allocations: 174.6 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.005619, allocations: 171.6 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.006026, allocations: 0.658 MB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.006197, allocations: 126 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.00649, allocations: 371.2 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.006658, allocations: 199.4 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.006709, allocations: 52 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.006765, allocations: 52 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.006828, allocations: 127.4 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.006942, allocations: 195.5 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.007231, allocations: 410.3 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007233, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007233, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007238, allocations: 0 / 280.3 MB, free: 10.18 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.0007457/0.007983, allocations: 0.9048 MB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.008009, allocations: 11.98 kB / 281.2 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.456e-05/0.008094, allocations: 112.5 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.00833, allocations: 288.2 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.008357, allocations: 37.69 kB / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.008399, allocations: 48.38 kB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.00871, allocations: 311.7 kB / 282 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00872, allocations: 4.172 kB / 282 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.008745, allocations: 23.94 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.008752, allocations: 12 kB / 282.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.008939, allocations: 170.3 kB / 282.2 MB, free: 8.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01019, allocations: 1.274 MB / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.01044, allocations: 228.4 kB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.01056, allocations: 100.2 kB / 283.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01058, allocations: 8.328 kB / 283.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.0106, allocations: 41.66 kB / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/0.0106, allocations: 0 / 283.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001139/0.01174, allocations: 0.8142 MB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.01176, allocations: 55.91 kB / 284.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01201, allocations: 430.3 kB / 285.2 MB, free: 5.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.01203, allocations: 33.7 kB / 285.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.01218, allocations: 371.2 kB / 285.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.01227, allocations: 198.2 kB / 285.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01238, allocations: 127.9 kB / 285.9 MB, free: 4.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.01252, allocations: 0.5312 MB / 286.4 MB, free: 3.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.01261, allocations: 69.25 kB / 286.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01277, allocations: 226.7 kB / 286.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.01304, allocations: 339.8 kB / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01304, allocations: 0 / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006055/0.01365, allocations: 0.5312 MB / 287.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01366, allocations: 11.12 kB / 287.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.01367, allocations: 4 kB / 287.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.01416, allocations: 242.9 kB / 287.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.01438, allocations: 103.8 kB / 287.9 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.01719, allocations: 4.684 MB / 292.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01734, allocations: 24.02 kB / 292.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01736, allocations: 20 kB / 292.6 MB, free: 13.27 MB / 282.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.0001213/0.01748, allocations: 192.4 kB / 292.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.01754, allocations: 67.66 kB / 292.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.0176, allocations: 61.03 kB / 293 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.0176, allocations: 4 kB / 293 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.01761, allocations: 4 kB / 293 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01762, allocations: 7.984 kB / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.01854, allocations: 0.9345 MB / 293.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01854, allocations: 0 / 293.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01868, allocations: 67.84 kB / 294 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.01911, allocations: 223.2 kB / 294.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01912, allocations: 8 kB / 294.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.0214, allocations: 4.571 MB / 298.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0214, allocations: 0 / 298.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.02186, allocations: 0.5847 MB / 299.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.02189, allocations: 43.66 kB / 299.4 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.02192, allocations: 12 kB / 299.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.02204, allocations: 23.92 kB / 299.4 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.02211, allocations: 52.34 kB / 299.5 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.02212, allocations: 8 kB / 299.5 MB, free: 6.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.02226, allocations: 271 kB / 299.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02226, allocations: 0 / 299.8 MB, free: 5.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.02268, allocations: 148 kB / 299.9 MB, free: 5.66 MB / 282.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 0.0001022/0.02278, allocations: 119.2 kB / 300 MB, free: 5.535 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.02336, allocations: 0.7135 MB / 300.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02337, allocations: 0 / 300.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.02374, allocations: 0.5457 MB / 301.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.02401, allocations: 46.11 kB / 301.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.02513, allocations: 0.9185 MB / 302.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.23e-05/0.02521, allocations: 130.2 kB / 302.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.02532, allocations: 48.25 kB / 302.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.02571, allocations: 114.2 kB / 302.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02571, allocations: 0 / 302.5 MB, free: 2.875 MB / 282.7 MB Notification: Performance of Templates: time 0.1081/0.1338, allocations: 5.538 MB / 308.1 MB, free: 37.87 MB / 282.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.875799614004791]