Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.599/1.599, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 47.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1102, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006972/0.1171, allocations: 2.871 MB / 429.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.1192, allocations: 0.7905 MB / 430.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.1195, allocations: 4 kB / 430.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1198, allocations: 71.42 kB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1202, allocations: 99.17 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.1206, allocations: 111.8 kB / 430.7 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2112/0.3318, allocations: 393.8 kB / 431.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.3322, allocations: 100.1 kB / 431.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.3327, allocations: 164.8 kB / 431.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3329, allocations: 174.6 kB / 431.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.333, allocations: 35.25 kB / 431.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.3331, allocations: 33.59 kB / 431.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.3331, allocations: 82.12 kB / 431.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3333, allocations: 176 kB / 431.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.3338, allocations: 406 kB / 432.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3338, allocations: 2 kB / 432.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3338, allocations: 0.5312 kB / 432.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.3338, allocations: 1.406 kB / 432.3 MB, free: 8.039 MB / 350.1 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.001202/0.335, allocations: 0.6602 MB / 432.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3351, allocations: 12 kB / 432.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.3352, allocations: 38.8 kB / 433 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3354, allocations: 281.8 kB / 433.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.3355, allocations: 28.59 kB / 433.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.3355, allocations: 33.09 kB / 433.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.3361, allocations: 283.7 kB / 433.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3361, allocations: 4.562 kB / 433.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3361, allocations: 13.31 kB / 433.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3362, allocations: 10.53 kB / 433.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.3368, allocations: 256.8 kB / 433.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3383, allocations: 1.11 MB / 435 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.3387, allocations: 146.5 kB / 435.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3389, allocations: 67.92 kB / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.339, allocations: 7.328 kB / 435.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.339, allocations: 37.28 kB / 435.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.339, allocations: 0 / 435.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002218/0.3412, allocations: 0.5945 MB / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3412, allocations: 59 kB / 435.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.3416, allocations: 286.2 kB / 436.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3416, allocations: 30.8 kB / 436.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3417, allocations: 229.9 kB / 436.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.3417, allocations: 76.8 kB / 436.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3418, allocations: 65 kB / 436.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.3419, allocations: 340.6 kB / 436.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3422, allocations: 100.1 kB / 437 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.3426, allocations: 199.2 kB / 437.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.3432, allocations: 299.2 kB / 437.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3432, allocations: 1.125 kB / 437.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008637/0.344, allocations: 397.8 kB / 437.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3441, allocations: 7 kB / 437.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3441, allocations: 2.562 kB / 437.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.3443, allocations: 65.42 kB / 437.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.3447, allocations: 78.39 kB / 438 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3461, allocations: 2.838 MB / 440.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.3464, allocations: 20.92 kB / 440.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3464, allocations: 14.94 kB / 440.9 MB, free: 2.582 MB / 350.1 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 0.0001157/0.3465, allocations: 158.2 kB / 441 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.3466, allocations: 28.73 kB / 441.1 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.3466, allocations: 34.73 kB / 441.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3466, allocations: 2.281 kB / 441.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3467, allocations: 1.734 kB / 441.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3467, allocations: 1.875 kB / 441.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.347, allocations: 336.2 kB / 441.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.347, allocations: 0.6562 kB / 441.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3472, allocations: 47.58 kB / 441.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.3474, allocations: 53.19 kB / 441.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3474, allocations: 1.625 kB / 441.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.349, allocations: 2.831 MB / 444.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.349, allocations: 4.375 kB / 444.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3498, allocations: 376.3 kB / 444.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.772e-05/0.3499, allocations: 106.7 kB / 444.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3499, allocations: 4.094 kB / 444.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3501, allocations: 21.2 kB / 444.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.3502, allocations: 19.78 kB / 444.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3502, allocations: 4.438 kB / 444.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.3504, allocations: 197.6 kB / 445.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3504, allocations: 0 / 445.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.3508, allocations: 76.47 kB / 445.2 MB, free: 14.8 MB / 366.1 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 0.0001239/0.351, allocations: 112.1 kB / 445.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.352, allocations: 475.8 kB / 445.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.352, allocations: 5.719 kB / 445.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.3525, allocations: 340.5 kB / 446.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3529, allocations: 26.8 kB / 446.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.354, allocations: 0.56 MB / 446.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.3544, allocations: 0.7734 MB / 447.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.3546, allocations: 31.08 kB / 447.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.3546, allocations: 24.88 kB / 447.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3546, allocations: 0 / 447.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Templates: time 0.008275/0.3629, allocations: 2.877 MB / 450.4 MB, free: 12.92 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.796382259577513]