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.002271/0.002271, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.002629/0.002629, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 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.565/1.565, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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.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.282e-06/1.282e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.755e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005583/0.005611, allocations: 3.476 MB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.007649, allocations: 0.9269 MB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.007836, allocations: 15.94 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.008122, allocations: 103 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.008563, allocations: 170.6 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.00894, allocations: 175.6 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.009709, allocations: 0.6619 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.009978, allocations: 126 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005037/0.01048, allocations: 363.2 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.01081, allocations: 203.4 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.445e-05/0.0109, allocations: 52 kB / 278.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.011, allocations: 55.94 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.01113, allocations: 123.5 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.01138, allocations: 195.5 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.01217, allocations: 0.6501 MB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01217, allocations: 0 / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.01218, allocations: 4 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01219, allocations: 0 / 279.5 MB, free: 10.51 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.00166/0.01385, allocations: 0.9202 MB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01388, allocations: 11.98 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.01407, allocations: 112.5 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.01458, allocations: 300.2 kB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.01463, allocations: 41.69 kB / 280.8 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.01471, allocations: 52.38 kB / 280.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.01556, allocations: 423 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.01558, allocations: 192 / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.01563, allocations: 23.94 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.01565, allocations: 12 kB / 281.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008555/0.0165, allocations: 357.1 kB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.01931, allocations: 1.442 MB / 283.1 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.02001, allocations: 317.3 kB / 283.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.0205, allocations: 162.9 kB / 283.6 MB, free: 6.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.02055, allocations: 12.33 kB / 283.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.02059, allocations: 41.72 kB / 283.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.02059, allocations: 0 / 283.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.003114/0.0237, allocations: 1.138 MB / 284.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.02376, allocations: 59.91 kB / 284.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.02438, allocations: 0.5024 MB / 285.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.02442, allocations: 37.7 kB / 285.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.02474, allocations: 383.4 kB / 285.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.02493, allocations: 210.3 kB / 286 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.02515, allocations: 124 kB / 286.1 MB, free: 3.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003263/0.02547, allocations: 0.5547 MB / 286.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.02586, allocations: 165.2 kB / 286.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.02642, allocations: 338.7 kB / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.02737, allocations: 0.5272 MB / 287.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02737, allocations: 0 / 287.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001512/0.02888, allocations: 0.7537 MB / 288.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.0289, allocations: 8 kB / 288.4 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.02891, allocations: 4.281 kB / 288.4 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.03018, allocations: 274.8 kB / 288.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.03066, allocations: 111.8 kB / 288.8 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.03638, allocations: 5.252 MB / 294.1 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.03679, allocations: 20 kB / 294.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.03684, allocations: 27.98 kB / 294.1 MB, free: 11.25 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.0003215/0.03716, allocations: 228.4 kB / 294.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.03728, allocations: 63.72 kB / 294.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.03743, allocations: 57.03 kB / 294.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.03744, allocations: 12.03 kB / 294.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.03746, allocations: 4 kB / 294.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.03747, allocations: 3.984 kB / 294.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.03995, allocations: 1.274 MB / 295.7 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03995, allocations: 0 / 295.7 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.04023, allocations: 63.91 kB / 295.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.04133, allocations: 259.1 kB / 296.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.04136, allocations: 8 kB / 296.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005157/0.04652, allocations: 5.088 MB / 301.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.04652, allocations: 0 / 301.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.04782, allocations: 0.7644 MB / 301.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.04792, allocations: 43.7 kB / 302 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.04798, allocations: 12 kB / 302 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.04824, allocations: 15.98 kB / 302 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.04835, allocations: 52.34 kB / 302 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.04838, allocations: 20 kB / 302.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003736/0.04875, allocations: 331.1 kB / 302.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04875, allocations: 0 / 302.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007012/0.04946, allocations: 152 kB / 302.5 MB, free: 2.449 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.0001533/0.04961, allocations: 111.2 kB / 302.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.05123, allocations: 0.9006 MB / 303.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.05124, allocations: 4.75 kB / 303.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.05218, allocations: 0.6475 MB / 304.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.0526, allocations: 45.48 kB / 304.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/0.1584, allocations: 0.9668 MB / 305.2 MB, free: 40.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1587, allocations: 260.7 kB / 305.5 MB, free: 40.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.1589, allocations: 45.17 kB / 305.5 MB, free: 40.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.394e-05/0.159, allocations: 32.28 kB / 305.5 MB, free: 40.19 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.159, allocations: 0.8125 kB / 305.5 MB, free: 40.19 MB / 282.7 MB Notification: Performance of Templates: time 0.01117/0.1702, allocations: 5.23 MB / 310.8 MB, free: 39.73 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.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.697260652901605]