Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 79.78 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 150 kB / 23.93 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.298e-05, allocations: 5.234 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003651/0.003674, allocations: 2.644 MB / 321.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.00496, allocations: 0.7193 MB / 322.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.005106, allocations: 4.281 kB / 322.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.005305, allocations: 66.91 kB / 322.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.005578, allocations: 108.5 kB / 322.5 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.005842, allocations: 105.5 kB / 322.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.00619, allocations: 420.5 kB / 323 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.006382, allocations: 91.73 kB / 323.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.006683, allocations: 234.8 kB / 323.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.006871, allocations: 126.4 kB / 323.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.006931, allocations: 34.69 kB / 323.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.006987, allocations: 32.19 kB / 323.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.007048, allocations: 88.55 kB / 323.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.007171, allocations: 117.6 kB / 323.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.0076, allocations: 412.8 kB / 324.1 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.007603, allocations: 3.938 kB / 324.1 MB, free: 440 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007604, allocations: 0 / 324.1 MB, free: 440 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.00761, allocations: 0 / 324.1 MB, free: 440 kB / 286.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.001084/0.008694, allocations: 0.5768 MB / 324.7 MB, free: 0 / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.008728, allocations: 9.141 kB / 324.7 MB, free: 0 / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.008813, allocations: 40.67 kB / 324.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.009212, allocations: 220.9 kB / 324.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.009249, allocations: 30.78 kB / 325 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.009307, allocations: 29 kB / 325 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.00996, allocations: 292.5 kB / 325.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.009973, allocations: 192 / 325.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.01001, allocations: 16.55 kB / 325.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.01002, allocations: 11.47 kB / 325.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.01068, allocations: 249.2 kB / 325.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.01243, allocations: 0.8837 MB / 326.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.0129, allocations: 142 kB / 326.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.01313, allocations: 61.83 kB / 326.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.01317, allocations: 7.359 kB / 326.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.01322, allocations: 37.45 kB / 326.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.175e-06/0.01322, allocations: 0 / 326.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002381/0.0156, allocations: 0.5964 MB / 327.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.01565, allocations: 54.94 kB / 327.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.01598, allocations: 279.7 kB / 327.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01601, allocations: 35.44 kB / 327.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.01621, allocations: 232.7 kB / 327.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.01628, allocations: 74.62 kB / 327.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.01639, allocations: 65.08 kB / 328 MB, free: 13.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01656, allocations: 342.2 kB / 328.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.01687, allocations: 93.28 kB / 328.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.01727, allocations: 205.2 kB / 328.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.01799, allocations: 299.1 kB / 328.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.018, allocations: 2.188 kB / 328.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009291/0.01892, allocations: 396.4 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01894, allocations: 6.062 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01895, allocations: 3.938 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.01924, allocations: 62.69 kB / 329.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.01959, allocations: 72.92 kB / 329.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.02197, allocations: 2.583 MB / 332 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.02229, allocations: 29.81 kB / 332.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.02231, allocations: 15.03 kB / 332.1 MB, free: 10.52 MB / 302.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.0001824/0.0225, allocations: 153.2 kB / 332.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.02255, allocations: 23.58 kB / 332.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.02262, allocations: 40.34 kB / 332.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.02263, allocations: 3.594 kB / 332.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02264, allocations: 1.359 kB / 332.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.02264, allocations: 5.391 kB / 332.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.02298, allocations: 224.4 kB / 332.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02298, allocations: 3.938 kB / 332.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.02322, allocations: 40.78 kB / 332.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.0234, allocations: 62.94 kB / 332.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.02342, allocations: 9.25 kB / 332.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.02559, allocations: 2.568 MB / 335.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.02559, allocations: 4.906 kB / 335.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007852/0.02638, allocations: 375.8 kB / 335.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.02642, allocations: 23.86 kB / 335.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.02646, allocations: 6.375 kB / 335.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.0267, allocations: 21.45 kB / 335.6 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.02678, allocations: 23.83 kB / 335.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.02679, allocations: 4.344 kB / 335.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.02702, allocations: 193.2 kB / 335.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02702, allocations: 1.094 kB / 335.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004204/0.02744, allocations: 71.69 kB / 335.9 MB, free: 7.199 MB / 302.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.0001283/0.02757, allocations: 102.6 kB / 336 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.02864, allocations: 477 kB / 336.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02864, allocations: 0.8125 kB / 336.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.02921, allocations: 340 kB / 336.8 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.02955, allocations: 28.19 kB / 336.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.0307, allocations: 0.5403 MB / 337.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.03086, allocations: 165 kB / 337.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.03099, allocations: 31.16 kB / 337.6 MB, free: 6.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/0.03106, allocations: 21.06 kB / 337.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.03106, allocations: 0 / 337.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of Templates: time 0.007368/0.03843, allocations: 2.848 MB / 340.4 MB, free: 4.629 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.169624920934439]