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.0008029/0.0008029, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001292/0.001292, allocations: 172.4 kB / 25.61 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 0.9286/0.9286, allocations: 177 MB / 205.9 MB, free: 4.426 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.333e-06/1.333e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.317e-05, allocations: 3.031 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003169/0.003182, allocations: 3.46 MB / 277.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.00442, allocations: 0.9395 MB / 278.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.004594, allocations: 11.94 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.004753, allocations: 95.14 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.005006, allocations: 178.5 kB / 278.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.005229, allocations: 167.7 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.005636, allocations: 0.6579 MB / 279.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.005812, allocations: 134 kB / 279.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.006078, allocations: 367.2 kB / 280.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.006256, allocations: 207.3 kB / 280.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.006306, allocations: 52 kB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.006355, allocations: 52 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.006427, allocations: 123.5 kB / 280.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.006552, allocations: 195.4 kB / 280.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.006903, allocations: 410.4 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.006905, allocations: 0 / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.006905, allocations: 4 kB / 281.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.006911, allocations: 0 / 281.1 MB, free: 13.23 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.0008118/0.007723, allocations: 0.8931 MB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.428e-05/0.007748, allocations: 8.031 kB / 282 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.193e-05/0.00784, allocations: 112.5 kB / 282.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.008079, allocations: 300.1 kB / 282.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.008107, allocations: 41.69 kB / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.00815, allocations: 48.38 kB / 282.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.008449, allocations: 303.8 kB / 282.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.008458, allocations: 192 / 282.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.008483, allocations: 23.94 kB / 282.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.008491, allocations: 12 kB / 282.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.008676, allocations: 174.2 kB / 283 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.009908, allocations: 1.274 MB / 284.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.01016, allocations: 215.8 kB / 284.5 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.01029, allocations: 104.2 kB / 284.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.01031, allocations: 12.31 kB / 284.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01033, allocations: 45.7 kB / 284.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.212e-06/0.01034, allocations: 0 / 284.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001151/0.01149, allocations: 0.8102 MB / 285.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.01151, allocations: 59.91 kB / 285.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.01176, allocations: 426.3 kB / 285.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.01178, allocations: 33.7 kB / 286 MB, free: 8.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01194, allocations: 367.3 kB / 286.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.01203, allocations: 198.3 kB / 286.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.01214, allocations: 115.9 kB / 286.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01229, allocations: 0.539 MB / 287.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.01237, allocations: 65.25 kB / 287.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.01253, allocations: 230.6 kB / 287.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.01279, allocations: 335.8 kB / 287.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01279, allocations: 8 kB / 287.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006504/0.01345, allocations: 0.5352 MB / 288.3 MB, free: 5.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.01346, allocations: 4 kB / 288.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01346, allocations: 4 kB / 288.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.01399, allocations: 238 kB / 288.6 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.0142, allocations: 111.8 kB / 288.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.01638, allocations: 4.682 MB / 293.4 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.01653, allocations: 24 kB / 293.4 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01655, allocations: 16 kB / 293.4 MB, free: 352 kB / 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.0001191/0.01667, allocations: 196.5 kB / 293.6 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.01673, allocations: 67.61 kB / 293.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.01678, allocations: 61.03 kB / 293.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01679, allocations: 4 kB / 293.7 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01679, allocations: 4 kB / 293.7 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.0168, allocations: 3.984 kB / 293.7 MB, free: 0 / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/0.0177, allocations: 0.9345 MB / 294.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0177, allocations: 4 kB / 294.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.01783, allocations: 63.84 kB / 294.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.01827, allocations: 223.2 kB / 295 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01828, allocations: 12 kB / 295 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.02029, allocations: 4.562 MB / 299.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02029, allocations: 0 / 299.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.02073, allocations: 0.5808 MB / 300.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.02077, allocations: 47.66 kB / 300.2 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.0208, allocations: 12 kB / 300.2 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.02092, allocations: 19.92 kB / 300.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.02098, allocations: 52.45 kB / 300.2 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.02099, allocations: 19.94 kB / 300.3 MB, free: 9.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.02112, allocations: 267 kB / 300.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02112, allocations: 0 / 300.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.02151, allocations: 152 kB / 300.7 MB, free: 8.734 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 8.278e-05/0.02159, allocations: 107.2 kB / 300.8 MB, free: 8.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005625/0.02215, allocations: 0.7093 MB / 301.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.02215, allocations: 0 / 301.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.02249, allocations: 0.5623 MB / 302.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.02274, allocations: 45.48 kB / 302.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.02366, allocations: 0.9107 MB / 303 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.02374, allocations: 130.2 kB / 303.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.02384, allocations: 48.25 kB / 303.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.02395, allocations: 122.2 kB / 303.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02395, allocations: 0 / 303.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of Templates: time 0.007618/0.03157, allocations: 5.699 MB / 309 MB, free: 304 kB / 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.692298173904419]