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.0009448/0.0009448, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009628/0.0009628, allocations: 169.7 kB / 24.99 MB, free: 8.219 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.9248/0.9248, allocations: 177 MB / 205.2 MB, free: 5.203 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.925e-05, allocations: 2.312 kB / 273 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004984/0.005004, allocations: 3.519 MB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.006633, allocations: 0.9423 MB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.006838, allocations: 8 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.007121, allocations: 95.09 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.007537, allocations: 178.6 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.007895, allocations: 171.6 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006327/0.008527, allocations: 0.6618 MB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.008785, allocations: 126 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.009202, allocations: 367.2 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.009485, allocations: 203.4 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.009567, allocations: 52 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.009644, allocations: 52 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.009746, allocations: 131.4 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.009939, allocations: 191.4 kB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.01043, allocations: 410.4 kB / 280.1 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01044, allocations: 4 kB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01044, allocations: 0 / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.01044, allocations: 0 / 280.1 MB, free: 10.48 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.001103/0.01155, allocations: 0.8932 MB / 280.9 MB, free: 9.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01158, allocations: 15.98 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.01169, allocations: 108.5 kB / 281.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.01199, allocations: 292.2 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.01203, allocations: 41.69 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.01208, allocations: 48.38 kB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.01275, allocations: 347.7 kB / 281.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01276, allocations: 192 / 281.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.01279, allocations: 23.94 kB / 281.8 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.0128, allocations: 12 kB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.01311, allocations: 211.7 kB / 282 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.0145, allocations: 1.267 MB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.01486, allocations: 229.3 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.01504, allocations: 116.2 kB / 283.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.01507, allocations: 12.31 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01509, allocations: 49.66 kB / 283.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/0.01509, allocations: 0 / 283.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001446/0.01654, allocations: 0.9153 MB / 284.6 MB, free: 5.754 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.01657, allocations: 55.91 kB / 284.7 MB, free: 5.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.01687, allocations: 442.5 kB / 285.1 MB, free: 5.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.01689, allocations: 37.7 kB / 285.1 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.01704, allocations: 363.4 kB / 285.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.01714, allocations: 206.2 kB / 285.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01724, allocations: 112 kB / 285.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01737, allocations: 0.5313 MB / 286.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.01751, allocations: 89.25 kB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.01772, allocations: 246.8 kB / 286.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.01807, allocations: 371.9 kB / 287 MB, free: 3.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01807, allocations: 0 / 287 MB, free: 3.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006451/0.01872, allocations: 0.5861 MB / 287.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01873, allocations: 8 kB / 287.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.01874, allocations: 11.98 kB / 287.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.01934, allocations: 239.1 kB / 287.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.01957, allocations: 111.8 kB / 288 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1014/0.1209, allocations: 4.776 MB / 292.7 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.1212, allocations: 22.33 kB / 292.8 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.1212, allocations: 22.3 kB / 292.8 MB, free: 24.49 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.0001265/0.1214, allocations: 196.3 kB / 293 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.1214, allocations: 68.66 kB / 293 MB, free: 24.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.1215, allocations: 59.86 kB / 293.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1215, allocations: 6.406 kB / 293.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1215, allocations: 3.75 kB / 293.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1215, allocations: 4.469 kB / 293.1 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1226, allocations: 1.027 MB / 294.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1226, allocations: 1.781 kB / 294.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1228, allocations: 64.27 kB / 294.2 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.1233, allocations: 231.5 kB / 294.4 MB, free: 23.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1233, allocations: 11.98 kB / 294.4 MB, free: 23.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.125, allocations: 4.66 MB / 299.1 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.125, allocations: 1.062 kB / 299.1 MB, free: 19.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.1256, allocations: 0.6171 MB / 299.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1256, allocations: 53.86 kB / 299.8 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1256, allocations: 9.297 kB / 299.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.1257, allocations: 17.58 kB / 299.8 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1258, allocations: 51.11 kB / 299.9 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1259, allocations: 16.03 kB / 299.9 MB, free: 19.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.126, allocations: 286.7 kB / 300.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.126, allocations: 0 / 300.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004444/0.1265, allocations: 149.1 kB / 300.3 MB, free: 19.14 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 8.674e-05/0.1266, allocations: 110.1 kB / 300.4 MB, free: 19.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.1272, allocations: 0.7507 MB / 301.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1272, allocations: 0 / 301.2 MB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.1276, allocations: 0.5596 MB / 301.7 MB, free: 18.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1279, allocations: 54.19 kB / 301.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1289, allocations: 0.9155 MB / 302.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.829e-05/0.129, allocations: 131.5 kB / 302.8 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.1291, allocations: 45.3 kB / 302.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1292, allocations: 38.3 kB / 302.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1292, allocations: 1 kB / 302.9 MB, free: 17.47 MB / 266.7 MB Notification: Performance of Templates: time 0.008177/0.1374, allocations: 5.247 MB / 308.1 MB, free: 16.05 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.8282989140134305]