Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001145/0.001145, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002762, allocations: 452 kB / 10.43 MB, free: 264 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.001075/0.001075, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002471, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1754/1.212, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.36 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02579/0.1581, allocations: 12.32 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.18e-06/5.18e-06, allocations: 4 kB / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/3.199e-05, allocations: 14.12 kB / 267.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003822/0.003854, allocations: 3.433 MB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004935, allocations: 0.8651 MB / 271.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.005088, allocations: 8 kB / 271.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.00522, allocations: 75.23 kB / 271.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.005401, allocations: 134.7 kB / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.00564, allocations: 131.7 kB / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.006035, allocations: 0.5334 MB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.006271, allocations: 176.3 kB / 272.7 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.006592, allocations: 353.1 kB / 273.1 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.006796, allocations: 171.5 kB / 273.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.006862, allocations: 52 kB / 273.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.006915, allocations: 48 kB / 273.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.006983, allocations: 83.69 kB / 273.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.007093, allocations: 147.8 kB / 273.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.007421, allocations: 342.7 kB / 273.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.007436, allocations: 0 / 273.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007437, allocations: 0 / 273.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.007452, allocations: 0 / 273.9 MB, free: 12.02 MB / 282.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.0009352/0.008387, allocations: 0.7647 MB / 274.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.008423, allocations: 11.89 kB / 274.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.008503, allocations: 76.88 kB / 274.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.008769, allocations: 209.9 kB / 274.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.008809, allocations: 37.38 kB / 275 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.008866, allocations: 52.36 kB / 275 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.009287, allocations: 407.8 kB / 275.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.009301, allocations: 192 / 275.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.009328, allocations: 20.38 kB / 275.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.009346, allocations: 19.92 kB / 275.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.009499, allocations: 120 kB / 275.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.01085, allocations: 1.305 MB / 276.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.01109, allocations: 160.9 kB / 277.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.0112, allocations: 73.62 kB / 277.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01122, allocations: 4 kB / 277.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.01125, allocations: 34.56 kB / 277.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.01125, allocations: 0 / 277.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001462/0.01271, allocations: 0.8526 MB / 278 MB, free: 7.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.01275, allocations: 85.11 kB / 278.1 MB, free: 7.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.0129, allocations: 244.9 kB / 278.3 MB, free: 7.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.01292, allocations: 29.7 kB / 278.4 MB, free: 7.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.01303, allocations: 256 kB / 278.6 MB, free: 6.988 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.01309, allocations: 115 kB / 278.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.01317, allocations: 82.09 kB / 278.8 MB, free: 6.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.01327, allocations: 343 kB / 279.1 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-05/0.01332, allocations: 40.97 kB / 279.2 MB, free: 6.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01344, allocations: 152.9 kB / 279.3 MB, free: 6.211 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.01364, allocations: 247.4 kB / 279.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01364, allocations: 0 / 279.6 MB, free: 5.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002604/0.0139, allocations: 242 kB / 279.8 MB, free: 5.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01392, allocations: 8 kB / 279.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01392, allocations: 4 kB / 279.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.01404, allocations: 37.2 kB / 279.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.01438, allocations: 152.1 kB / 280 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006849/0.01506, allocations: 1.194 MB / 281.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.01515, allocations: 16.03 kB / 281.2 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01516, allocations: 16 kB / 281.2 MB, free: 4.16 MB / 282.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 9.54e-05/0.01526, allocations: 129.7 kB / 281.4 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.0153, allocations: 31.97 kB / 281.4 MB, free: 3.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.01534, allocations: 38.11 kB / 281.4 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01534, allocations: 7.938 kB / 281.4 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01535, allocations: 3.938 kB / 281.4 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01535, allocations: 0 / 281.4 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.0158, allocations: 413 kB / 281.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.0158, allocations: 0 / 281.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.01607, allocations: 131.7 kB / 282 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.01612, allocations: 35.78 kB / 282 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-05/0.01619, allocations: 32.91 kB / 282 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.0162, allocations: 4 kB / 282 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005344/0.01674, allocations: 1.19 MB / 283.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01674, allocations: 0 / 283.2 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.01704, allocations: 414.7 kB / 283.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01706, allocations: 8 kB / 283.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01716, allocations: 20.02 kB / 283.7 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.01721, allocations: 23.95 kB / 283.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01722, allocations: 8 kB / 283.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.869e-05/0.01728, allocations: 78.72 kB / 283.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01728, allocations: 0 / 283.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000234/0.01751, allocations: 92 kB / 283.9 MB, free: 1.371 MB / 282.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 9.735e-05/0.01761, allocations: 84.41 kB / 283.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.01793, allocations: 304 kB / 284.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.01794, allocations: 8 kB / 284.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01809, allocations: 223.3 kB / 284.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.01854, allocations: 0.5099 MB / 285 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/0.1492, allocations: 0.8241 MB / 285.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.684e-05/0.1493, allocations: 112.8 kB / 285.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.1495, allocations: 38.06 kB / 285.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1496, allocations: 112 kB / 286.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1496, allocations: 1.156 kB / 286.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of Templates: time 0.00657/0.1562, allocations: 3.671 MB / 289.7 MB, free: 13.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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.000957435928285]