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.0026/0.0026, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003044/0.003044, allocations: 165.6 kB / 24.27 MB, free: 160 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.627/1.627, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.422e-06/1.422e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.46e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005029/0.005054, allocations: 2.825 MB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.006571, allocations: 0.7749 MB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.006704, allocations: 8 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.006928, allocations: 63.44 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.007221, allocations: 111.1 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.007501, allocations: 107.7 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004727/0.007974, allocations: 414.3 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.008164, allocations: 87.34 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.008595, allocations: 247.4 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.008815, allocations: 131.6 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.31e-05/0.008878, allocations: 32 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.008946, allocations: 36 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.009028, allocations: 79.66 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.009187, allocations: 127.7 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.009712, allocations: 410.6 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.009715, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009716, allocations: 0 / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.009722, allocations: 0 / 277.7 MB, free: 12.41 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.001293/0.01102, allocations: 0.6944 MB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01105, allocations: 8.031 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.01117, allocations: 68.7 kB / 278.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.01154, allocations: 227.9 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.01157, allocations: 21.03 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.01163, allocations: 36.38 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.01222, allocations: 278.5 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01223, allocations: 192 / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.01227, allocations: 16.38 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.01228, allocations: 11.94 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.01292, allocations: 226.5 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.01478, allocations: 1.003 MB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.01514, allocations: 143 kB / 280.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.0153, allocations: 63.66 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.01534, allocations: 7.906 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.01538, allocations: 41.38 kB / 280.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.01538, allocations: 0 / 280.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001769/0.01715, allocations: 0.5324 MB / 281.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.01719, allocations: 59.41 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.01761, allocations: 376.1 kB / 281.5 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.01764, allocations: 29.7 kB / 281.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.01787, allocations: 290.8 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.01795, allocations: 83.36 kB / 281.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01809, allocations: 79.31 kB / 282 MB, free: 7.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.01838, allocations: 0.5196 MB / 282.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.01862, allocations: 83.95 kB / 282.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.01899, allocations: 231.3 kB / 282.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.01958, allocations: 328.8 kB / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01959, allocations: 0 / 283.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008368/0.02042, allocations: 403 kB / 283.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.02044, allocations: 8.625 kB / 283.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02045, allocations: 4 kB / 283.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.02105, allocations: 95.23 kB / 283.6 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.02135, allocations: 67.91 kB / 283.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003105/0.02445, allocations: 3.637 MB / 287.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.02469, allocations: 16.06 kB / 287.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.02472, allocations: 16 kB / 287.4 MB, free: 2.145 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.000201/0.02492, allocations: 196.4 kB / 287.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.02501, allocations: 35.81 kB / 287.6 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.02509, allocations: 38.2 kB / 287.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.02509, allocations: 4 kB / 287.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.0251, allocations: 0 / 287.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.0251, allocations: 0 / 287.6 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.02549, allocations: 276.5 kB / 287.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02549, allocations: 0 / 287.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.02568, allocations: 39.92 kB / 287.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.02617, allocations: 87.39 kB / 288 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.02619, allocations: 11.94 kB / 288 MB, free: 1.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.02909, allocations: 3.625 MB / 291.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.02909, allocations: 4 kB / 291.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.02979, allocations: 421.9 kB / 292.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.02985, allocations: 27.8 kB / 292.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.02989, allocations: 4 kB / 292.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.03006, allocations: 4 kB / 292.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.03014, allocations: 23.95 kB / 292.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.03015, allocations: 8 kB / 292.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.03041, allocations: 245.1 kB / 292.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03041, allocations: 0 / 292.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.03081, allocations: 80 kB / 292.5 MB, free: 12.71 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.0001354/0.03095, allocations: 99.19 kB / 292.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009806/0.03193, allocations: 0.5805 MB / 293.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03193, allocations: 0 / 293.1 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.03256, allocations: 459.2 kB / 293.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.03291, allocations: 28.48 kB / 293.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.03403, allocations: 0.5616 MB / 294.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.03422, allocations: 172.8 kB / 294.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.03434, allocations: 34.2 kB / 294.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.03441, allocations: 24.5 kB / 294.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03441, allocations: 0 / 294.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Templates: time 0.008013/0.04243, allocations: 2.9 MB / 297.3 MB, free: 7.82 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","/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.6115818050457165]