Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001331/0.001331, 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.00143/0.00143, allocations: 160.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.8911/0.8911, allocations: 177 MB / 205.2 MB, free: 5.059 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.125e-05, allocations: 5.266 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002506/0.002517, allocations: 2.811 MB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.00337, allocations: 0.7902 MB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.003469, allocations: 4 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.003618, allocations: 67.38 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.003801, allocations: 111.1 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.003968, allocations: 103.7 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.004218, allocations: 406.2 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.004347, allocations: 97.95 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.0046, allocations: 243.5 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.004718, allocations: 115.7 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.004752, allocations: 35.94 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.85e-05/0.00478, allocations: 32 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.004824, allocations: 83.66 kB / 278.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.004897, allocations: 115.7 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.005102, allocations: 259 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005103, allocations: 4 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005104, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005107, allocations: 0 / 278.6 MB, free: 11.8 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006106/0.005718, allocations: 0.5427 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005746, allocations: 11.98 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.005804, allocations: 44.91 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.00597, allocations: 186.1 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.005994, allocations: 33.03 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.006028, allocations: 32.36 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.006249, allocations: 215.3 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006258, allocations: 4.125 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.006274, allocations: 8.375 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.006282, allocations: 15.92 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.006384, allocations: 84.55 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.007159, allocations: 0.7522 MB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.007279, allocations: 78.53 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.007312, allocations: 28.84 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.007329, allocations: 4 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.007346, allocations: 34.56 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.007347, allocations: 3.938 kB / 280.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006817/0.008029, allocations: 401.5 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.008048, allocations: 51.41 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.008175, allocations: 252.8 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.008188, allocations: 33.7 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.00826, allocations: 216 kB / 281.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.008296, allocations: 83.31 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.008355, allocations: 65.62 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.008424, allocations: 338.8 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.00846, allocations: 23.98 kB / 282.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.008538, allocations: 124.2 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.00867, allocations: 189.1 kB / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008672, allocations: 0 / 282.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002147/0.008886, allocations: 241.2 kB / 282.7 MB, free: 7.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.008896, allocations: 4 kB / 282.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.008901, allocations: 4 kB / 282.7 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.009121, allocations: 70.05 kB / 282.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.009261, allocations: 71.84 kB / 282.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000913/0.01017, allocations: 2.361 MB / 285.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.01027, allocations: 23.92 kB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01028, allocations: 12 kB / 285.2 MB, free: 4.742 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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.01036, allocations: 133.7 kB / 285.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.01039, allocations: 19.97 kB / 285.4 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.01042, allocations: 34.27 kB / 285.4 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.01042, allocations: 4.031 kB / 285.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.01042, allocations: 8 kB / 285.4 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01042, allocations: 3.938 kB / 285.4 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01056, allocations: 153.8 kB / 285.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01056, allocations: 3.938 kB / 285.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.01063, allocations: 35.91 kB / 285.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.01078, allocations: 65.66 kB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01079, allocations: 4 kB / 285.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000869/0.01166, allocations: 2.373 MB / 288 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.01166, allocations: 0 / 288 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.01183, allocations: 242.1 kB / 288.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.01184, allocations: 19.81 kB / 288.3 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.01186, allocations: 4 kB / 288.3 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.01193, allocations: 11.98 kB / 288.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.01197, allocations: 19.97 kB / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.01197, allocations: 0 / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.551e-05/0.01203, allocations: 82.77 kB / 288.4 MB, free: 1.312 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01203, allocations: 8.031 kB / 288.4 MB, free: 1.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01223, allocations: 72 kB / 288.5 MB, free: 1.234 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.465e-05/0.0123, allocations: 84.36 kB / 288.6 MB, free: 1.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.01257, allocations: 370.3 kB / 288.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01258, allocations: 8 kB / 288.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.01272, allocations: 301.5 kB / 289.2 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.01288, allocations: 28.44 kB / 289.3 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08085/0.09373, allocations: 0.5155 MB / 289.8 MB, free: 25.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.09378, allocations: 98.39 kB / 289.9 MB, free: 25.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.09389, allocations: 25.11 kB / 289.9 MB, free: 25.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.09398, allocations: 80.61 kB / 290 MB, free: 25.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.744e-06/0.09398, allocations: 0 / 290 MB, free: 25.14 MB / 266.7 MB Notification: Performance of Templates: time 0.005148/0.09913, allocations: 2.921 MB / 292.9 MB, free: 25.01 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.4501985739916563]