Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002399, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007375/0.0007375, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001794, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.123, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3015/0.3015, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03285/0.3344, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.006e-05, allocations: 4.859 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003694/0.003714, allocations: 3.545 MB / 296.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.005062, allocations: 0.8494 MB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.005229, allocations: 11.94 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.00536, allocations: 71.3 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.00557, allocations: 142.6 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.005835, allocations: 127.8 kB / 297.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.00625, allocations: 0.5343 MB / 298.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.006517, allocations: 184.2 kB / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.006874, allocations: 361 kB / 298.6 MB, free: 404 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.00708, allocations: 167.5 kB / 298.8 MB, free: 236 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.00714, allocations: 48 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.007193, allocations: 52 kB / 298.9 MB, free: 136 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.007251, allocations: 83.69 kB / 299 MB, free: 52 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.007371, allocations: 143.8 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.007704, allocations: 334.7 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.007718, allocations: 0 / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007719, allocations: 0 / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.007737, allocations: 0 / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009437/0.00868, allocations: 0.7659 MB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.00872, allocations: 12.02 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.008809, allocations: 72.89 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.009092, allocations: 214 kB / 300.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.009133, allocations: 37.36 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.009185, allocations: 48.38 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.009664, allocations: 407.8 kB / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.009681, allocations: 192 / 301 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.009709, allocations: 20.38 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.009723, allocations: 15.94 kB / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.00988, allocations: 124 kB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01127, allocations: 1.305 MB / 302.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.01153, allocations: 161 kB / 302.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.01164, allocations: 70.56 kB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.01166, allocations: 4 kB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.0117, allocations: 34.56 kB / 302.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.0117, allocations: 0 / 302.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001533/0.01323, allocations: 0.8626 MB / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.01327, allocations: 81.11 kB / 303.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01343, allocations: 244.8 kB / 303.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.01345, allocations: 29.7 kB / 303.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01355, allocations: 256 kB / 304.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.01362, allocations: 126.9 kB / 304.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.0137, allocations: 78.11 kB / 304.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01382, allocations: 338.8 kB / 304.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.01387, allocations: 40.97 kB / 304.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.01398, allocations: 152.9 kB / 304.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.0142, allocations: 232.4 kB / 305.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0142, allocations: 4 kB / 305.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002917/0.01449, allocations: 245.9 kB / 305.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01451, allocations: 8 kB / 305.4 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01452, allocations: 4 kB / 305.4 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.01467, allocations: 33.22 kB / 305.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.01503, allocations: 161.8 kB / 305.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000814/0.01584, allocations: 1.195 MB / 306.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01595, allocations: 12 kB / 306.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.01597, allocations: 19.98 kB / 306.8 MB, free: 7.738 MB / 298.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.01608, allocations: 133.7 kB / 306.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.01612, allocations: 31.97 kB / 306.9 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.01616, allocations: 38.12 kB / 307 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.01617, allocations: 11.92 kB / 307 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01618, allocations: 0 / 307 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01618, allocations: 0 / 307 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.01664, allocations: 405.1 kB / 307.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.01664, allocations: 0 / 307.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.01692, allocations: 129.9 kB / 307.5 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.01696, allocations: 27.81 kB / 307.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.01705, allocations: 36.89 kB / 307.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01706, allocations: 4 kB / 307.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005941/0.01766, allocations: 1.198 MB / 308.8 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01766, allocations: 0 / 308.8 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.01798, allocations: 418.6 kB / 309.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.018, allocations: 12.03 kB / 309.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.01811, allocations: 15.98 kB / 309.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.01816, allocations: 27.89 kB / 309.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01817, allocations: 8 kB / 309.3 MB, free: 5.117 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.01825, allocations: 82.75 kB / 309.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01825, allocations: 0 / 309.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.01852, allocations: 92 kB / 309.4 MB, free: 4.941 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000132/0.01866, allocations: 92.36 kB / 309.5 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.01902, allocations: 292.1 kB / 309.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/0.01904, allocations: 4.5 kB / 309.8 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.0192, allocations: 228.5 kB / 310 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.01971, allocations: 0.5319 MB / 310.6 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.02228, allocations: 0.8313 MB / 311.4 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.637e-05/0.02237, allocations: 113.3 kB / 311.5 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.02247, allocations: 39 kB / 311.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.02263, allocations: 111.3 kB / 311.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/0.02263, allocations: 0 / 311.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of Templates: time 0.006764/0.02939, allocations: 3.781 MB / 315.4 MB, free: 14.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.157512668520212]