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.0007967/0.0007967, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.0008936/0.0008936, allocations: 165.5 kB / 24.99 MB, free: 8.742 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.9865/0.9865, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.392e-06/1.392e-06, allocations: 0 / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.589e-05, allocations: 2.312 kB / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003043/0.003069, allocations: 2.865 MB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.003952, allocations: 0.7787 MB / 276.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004056, allocations: 7.938 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.004221, allocations: 67.42 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.004422, allocations: 107.1 kB / 276.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.004715, allocations: 107.7 kB / 277 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.004977, allocations: 414.2 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.005125, allocations: 87.34 kB / 277.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.005401, allocations: 243.5 kB / 277.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.005527, allocations: 127.6 kB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.005564, allocations: 32 kB / 277.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.036e-05/0.005595, allocations: 40 kB / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.005638, allocations: 79.67 kB / 278 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.00572, allocations: 123.7 kB / 278.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.005945, allocations: 263 kB / 278.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005948, allocations: 0 / 278.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005948, allocations: 0 / 278.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005953, allocations: 0 / 278.4 MB, free: 12.52 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.0008658/0.006819, allocations: 0.6752 MB / 279 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.006859, allocations: 12.03 kB / 279 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.006949, allocations: 68.64 kB / 279.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.007213, allocations: 219.9 kB / 279.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.007242, allocations: 25.03 kB / 279.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.007281, allocations: 28.38 kB / 279.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.007632, allocations: 235.3 kB / 279.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.00764, allocations: 4.188 kB / 279.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.007664, allocations: 12.38 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.007676, allocations: 11.94 kB / 279.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.007878, allocations: 123.8 kB / 279.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.008949, allocations: 0.9096 MB / 280.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.009132, allocations: 107 kB / 280.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.00919, allocations: 39.67 kB / 280.8 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.009212, allocations: 4 kB / 280.8 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.00923, allocations: 37.3 kB / 280.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.009232, allocations: 0 / 280.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008301/0.01006, allocations: 426.3 kB / 281.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01009, allocations: 55.41 kB / 281.3 MB, free: 9.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.0103, allocations: 328.1 kB / 281.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.01031, allocations: 29.7 kB / 281.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.01043, allocations: 282.8 kB / 281.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.01047, allocations: 71.38 kB / 282 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.01053, allocations: 75.3 kB / 282.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01065, allocations: 0.5117 MB / 282.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.01073, allocations: 43.91 kB / 282.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.01086, allocations: 191.3 kB / 282.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.01107, allocations: 236.8 kB / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01107, allocations: 0 / 283.1 MB, free: 7.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003493/0.01142, allocations: 311.1 kB / 283.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.01143, allocations: 10.5 kB / 283.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01144, allocations: 4 kB / 283.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.01174, allocations: 79.31 kB / 283.5 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.01191, allocations: 71.89 kB / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.01341, allocations: 3.527 MB / 287.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.01353, allocations: 19.98 kB / 287.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01355, allocations: 16.06 kB / 287.1 MB, free: 3.16 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.0001008/0.01365, allocations: 176.5 kB / 287.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01369, allocations: 31.81 kB / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01373, allocations: 42.14 kB / 287.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01373, allocations: 144 / 287.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.01373, allocations: 7.984 kB / 287.3 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.01374, allocations: 3.984 kB / 287.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.01393, allocations: 224.5 kB / 287.6 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01393, allocations: 4 kB / 287.6 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.01401, allocations: 43.97 kB / 287.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.01423, allocations: 75.3 kB / 287.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01425, allocations: 7.938 kB / 287.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.01554, allocations: 3.516 MB / 291.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01554, allocations: 3.938 kB / 291.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.01581, allocations: 342.2 kB / 291.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.01584, allocations: 35.8 kB / 291.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01586, allocations: 0 / 291.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.01594, allocations: 8 kB / 291.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.016, allocations: 23.95 kB / 291.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.01601, allocations: 7.938 kB / 291.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.01614, allocations: 217.1 kB / 291.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01614, allocations: 0 / 291.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.01639, allocations: 72 kB / 291.9 MB, free: 14.02 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 9.249e-05/0.01648, allocations: 107.2 kB / 292 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004286/0.01691, allocations: 0.4942 MB / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01691, allocations: 0 / 292.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.01713, allocations: 416 kB / 292.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01737, allocations: 40.47 kB / 293 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.01828, allocations: 0.5368 MB / 293.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.236e-05/0.01834, allocations: 92.31 kB / 293.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.222e-05/0.01842, allocations: 30.41 kB / 293.6 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.01847, allocations: 20.5 kB / 293.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01847, allocations: 0 / 293.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.00506/0.02353, allocations: 2.899 MB / 296.5 MB, free: 9.332 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.859764021122828]