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.001758/0.001758, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001566/0.001566, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.721e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004491/0.004519, allocations: 2.688 MB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.005992, allocations: 0.7476 MB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.006135, allocations: 8 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.00636, allocations: 59.44 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.006655, allocations: 111 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.006935, allocations: 111.7 kB / 276 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.007425, allocations: 414.3 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.007618, allocations: 87.33 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.008043, allocations: 243.4 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.008259, allocations: 127.6 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.008317, allocations: 32 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.008377, allocations: 40 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.008457, allocations: 79.67 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.008612, allocations: 123.7 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.00912, allocations: 410.7 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.009124, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009125, allocations: 0 / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.009131, allocations: 0 / 277.6 MB, free: 12.56 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.001316/0.01045, allocations: 0.5791 MB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.01048, allocations: 8.031 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.01061, allocations: 68.7 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.01103, allocations: 233 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.01107, allocations: 21.03 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.01113, allocations: 32.38 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.01179, allocations: 294.5 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.0118, allocations: 192 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.01184, allocations: 12.38 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.01185, allocations: 11.94 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.01254, allocations: 250.5 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.01441, allocations: 0.8869 MB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.01482, allocations: 142.5 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.01502, allocations: 64.81 kB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.01505, allocations: 8 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.01508, allocations: 30.56 kB / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.01509, allocations: 0 / 280.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002226/0.01731, allocations: 0.6008 MB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.01736, allocations: 63.41 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.01771, allocations: 281.8 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01773, allocations: 25.7 kB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.01794, allocations: 240 kB / 281.4 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.01802, allocations: 75.38 kB / 281.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.01813, allocations: 65.66 kB / 281.5 MB, free: 8.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.01833, allocations: 346.7 kB / 281.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.01864, allocations: 91.94 kB / 281.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.01906, allocations: 207.7 kB / 282.1 MB, free: 7.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.01974, allocations: 301.2 kB / 282.4 MB, free: 7.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01975, allocations: 0 / 282.4 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009612/0.02071, allocations: 413 kB / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.02073, allocations: 8.625 kB / 282.8 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.02074, allocations: 4.406 kB / 282.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.02131, allocations: 97.5 kB / 282.9 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.02168, allocations: 75.89 kB / 283 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.02422, allocations: 2.588 MB / 285.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.02451, allocations: 23.98 kB / 285.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.02454, allocations: 16 kB / 285.6 MB, free: 3.949 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 0.0001922/0.02473, allocations: 153.8 kB / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.0248, allocations: 27.86 kB / 285.8 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.02488, allocations: 34.2 kB / 285.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.02488, allocations: 4 kB / 285.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.02489, allocations: 0 / 285.9 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.02489, allocations: 3.984 kB / 285.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.02524, allocations: 225.2 kB / 286.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02524, allocations: 0 / 286.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.02548, allocations: 51.89 kB / 286.1 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.02596, allocations: 69.66 kB / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.02598, allocations: 15.92 kB / 286.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.02844, allocations: 2.572 MB / 288.8 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02844, allocations: 3.938 kB / 288.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.02926, allocations: 387.9 kB / 289.2 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.0293, allocations: 24 kB / 289.2 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.02934, allocations: 8 kB / 289.2 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.02957, allocations: 15.97 kB / 289.2 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.02964, allocations: 19.95 kB / 289.2 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.02966, allocations: 4 kB / 289.2 MB, free: 76 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.0299, allocations: 197.2 kB / 289.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0299, allocations: 4 kB / 289.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000412/0.03031, allocations: 76 kB / 289.5 MB, free: 15.8 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 0.0001378/0.03045, allocations: 103.2 kB / 289.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.03147, allocations: 476 kB / 290.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03147, allocations: 0 / 290.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.03206, allocations: 345.8 kB / 290.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.0324, allocations: 32.48 kB / 290.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.03358, allocations: 0.5401 MB / 291 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.03377, allocations: 172.8 kB / 291.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.0339, allocations: 42.14 kB / 291.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.03397, allocations: 20.5 kB / 291.2 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.03397, allocations: 0 / 291.2 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.007561/0.04153, allocations: 2.862 MB / 294.1 MB, free: 11.21 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=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.506514252978377]