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.0009592/0.0009592, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001111/0.001111, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9744/0.9744, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.984e-06/1.984e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.15e-05, allocations: 4.844 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004851/0.004883, allocations: 2.826 MB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.006715, allocations: 0.7787 MB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.006925, allocations: 4 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.00719, allocations: 67.31 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.007548, allocations: 107.2 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.007886, allocations: 111.7 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.008401, allocations: 418.2 kB / 277.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.008628, allocations: 91.33 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.00915, allocations: 247.4 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.009371, allocations: 123.6 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.009432, allocations: 39.94 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.009488, allocations: 32 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.009555, allocations: 79.73 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.009689, allocations: 123.7 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.01007, allocations: 263 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01008, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01008, allocations: 0 / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.01009, allocations: 0 / 278.7 MB, free: 11.96 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.001258/0.01135, allocations: 0.6828 MB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.01139, allocations: 12.03 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.01147, allocations: 64.7 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.01172, allocations: 216 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.01175, allocations: 28.97 kB / 279.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.01179, allocations: 32.38 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.01209, allocations: 207.3 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.0121, allocations: 192 / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.01212, allocations: 16.38 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01213, allocations: 11.94 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01225, allocations: 96.5 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01328, allocations: 0.9133 MB / 280.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.01344, allocations: 99.03 kB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.01348, allocations: 27.67 kB / 281.1 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.0135, allocations: 7.984 kB / 281.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.01352, allocations: 41.3 kB / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.01352, allocations: 0 / 281.1 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007447/0.01427, allocations: 370.4 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.0143, allocations: 55.41 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.01449, allocations: 327.9 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.01451, allocations: 25.7 kB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01464, allocations: 290.8 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.01469, allocations: 79.36 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.01476, allocations: 67.28 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01488, allocations: 0.5156 MB / 282.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.01493, allocations: 31.97 kB / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01503, allocations: 175.3 kB / 283 MB, free: 7.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.0152, allocations: 224.8 kB / 283.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.0152, allocations: 0 / 283.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000281/0.01548, allocations: 290.7 kB / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01549, allocations: 10.5 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.0155, allocations: 4 kB / 283.5 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.01576, allocations: 79.66 kB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.0159, allocations: 67.91 kB / 283.7 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.01722, allocations: 3.486 MB / 287.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01735, allocations: 19.94 kB / 287.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01736, allocations: 12 kB / 287.2 MB, free: 2.824 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 9.315e-05/0.01746, allocations: 176.5 kB / 287.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.01749, allocations: 31.86 kB / 287.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.01752, allocations: 30.27 kB / 287.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01753, allocations: 8.031 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01753, allocations: 7.875 kB / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01753, allocations: 0 / 287.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01769, allocations: 193.1 kB / 287.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01769, allocations: 0 / 287.6 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.01776, allocations: 28.12 kB / 287.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.01797, allocations: 83.28 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01798, allocations: 4 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.01918, allocations: 3.478 MB / 291.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01918, allocations: 3.984 kB / 291.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.01942, allocations: 338.2 kB / 291.6 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.01944, allocations: 19.86 kB / 291.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.01945, allocations: 4 kB / 291.6 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.01953, allocations: 19.92 kB / 291.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.01957, allocations: 15.91 kB / 291.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01958, allocations: 8 kB / 291.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.01968, allocations: 213 kB / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01968, allocations: 0 / 291.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01994, allocations: 72 kB / 291.9 MB, free: 13.81 MB / 282.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 8.768e-05/0.02002, allocations: 107.2 kB / 292 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.02037, allocations: 490.6 kB / 292.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.02037, allocations: 4 kB / 292.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.02056, allocations: 411.2 kB / 292.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.02079, allocations: 28.48 kB / 292.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.02155, allocations: 0.5217 MB / 293.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.02161, allocations: 100.2 kB / 293.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.02168, allocations: 30.31 kB / 293.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.02178, allocations: 98.19 kB / 293.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02178, allocations: 4 kB / 293.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of Templates: time 0.005188/0.02697, allocations: 3.104 MB / 296.8 MB, free: 8.883 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 240] 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","",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.7655762783251703]