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.0007869/0.0007869, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001848, allocations: 447.8 kB / 10.35 MB, free: 348 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.000684/0.000684, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008439/0.001528, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.031/1.031, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2144/1.245, allocations: 49.5 MB / 220.5 MB, free: 5.277 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.1559/0.1559, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02236/0.1782, allocations: 12.3 MB / 265.9 MB, free: 7.832 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 1.673e-06/1.673e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.242e-05, allocations: 2.312 kB / 267.2 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003795/0.003817, allocations: 3.429 MB / 270.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.005803, allocations: 0.8613 MB / 271.5 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.006034, allocations: 11.94 kB / 271.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.006181, allocations: 75.23 kB / 271.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.006436, allocations: 134.7 kB / 271.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.006757, allocations: 131.8 kB / 271.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.007271, allocations: 0.5371 MB / 272.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.007515, allocations: 176.3 kB / 272.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/0.007973, allocations: 357 kB / 272.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.008163, allocations: 179.5 kB / 273.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.008219, allocations: 52 kB / 273.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.805e-05/0.008267, allocations: 48 kB / 273.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.008322, allocations: 79.75 kB / 273.2 MB, free: 484 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.008442, allocations: 147.7 kB / 273.4 MB, free: 336 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.008826, allocations: 330.8 kB / 273.7 MB, free: 4 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142e-05/0.008847, allocations: 0 / 273.7 MB, free: 4 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.008849, allocations: 0 / 273.7 MB, free: 4 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.00887, allocations: 0 / 273.7 MB, free: 4 kB / 266.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.0009187/0.009789, allocations: 0.7764 MB / 274.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.009823, allocations: 11.89 kB / 274.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.009936, allocations: 72.88 kB / 274.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.0102, allocations: 210 kB / 274.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.01023, allocations: 41.31 kB / 274.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.01028, allocations: 44.38 kB / 274.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.01071, allocations: 411.9 kB / 275.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01072, allocations: 192 / 275.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.01075, allocations: 16.38 kB / 275.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01076, allocations: 15.94 kB / 275.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.0109, allocations: 128 kB / 275.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.0123, allocations: 1.301 MB / 276.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.01251, allocations: 157 kB / 276.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.01261, allocations: 69.67 kB / 276.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.01263, allocations: 8 kB / 276.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.01265, allocations: 38.5 kB / 277 MB, free: 12.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.01265, allocations: 0 / 277 MB, free: 12.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001682/0.01434, allocations: 0.8452 MB / 277.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.01438, allocations: 89.02 kB / 277.9 MB, free: 11.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.01453, allocations: 240.9 kB / 278.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.01455, allocations: 33.7 kB / 278.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01465, allocations: 252 kB / 278.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.01472, allocations: 123 kB / 278.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.0148, allocations: 78.12 kB / 278.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.01489, allocations: 342.8 kB / 279 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.01495, allocations: 40.97 kB / 279 MB, free: 10.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01505, allocations: 148.9 kB / 279.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.01522, allocations: 227.5 kB / 279.4 MB, free: 9.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01522, allocations: 0 / 279.4 MB, free: 9.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002636/0.01549, allocations: 250 kB / 279.6 MB, free: 9.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.0155, allocations: 4 kB / 279.6 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.01551, allocations: 4 kB / 279.6 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.01562, allocations: 33.2 kB / 279.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.01596, allocations: 168 kB / 279.8 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007151/0.01668, allocations: 1.182 MB / 281 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.01713, allocations: 20.03 kB / 281 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01715, allocations: 19.98 kB / 281 MB, free: 8.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 0.0001052/0.01726, allocations: 133.7 kB / 281.2 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.0173, allocations: 35.91 kB / 281.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.01735, allocations: 30.12 kB / 281.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01735, allocations: 7.938 kB / 281.2 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.01736, allocations: 4 kB / 281.2 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01736, allocations: 3.984 kB / 281.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.01786, allocations: 412.9 kB / 281.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01787, allocations: 4 kB / 281.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.01816, allocations: 131.9 kB / 281.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.01821, allocations: 23.86 kB / 281.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/0.01828, allocations: 28.84 kB / 281.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.0183, allocations: 15.98 kB / 281.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005004/0.0188, allocations: 1.182 MB / 283 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.0188, allocations: 4 kB / 283 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.0191, allocations: 414.8 kB / 283.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01913, allocations: 12.03 kB / 283.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.01924, allocations: 19.98 kB / 283.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.0193, allocations: 23.98 kB / 283.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01931, allocations: 8 kB / 283.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.01937, allocations: 82.77 kB / 283.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01937, allocations: 0 / 283.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000273/0.01964, allocations: 92 kB / 283.7 MB, free: 5.367 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 0.0001071/0.01975, allocations: 88.36 kB / 283.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.02007, allocations: 292.1 kB / 284 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.02008, allocations: 8 kB / 284 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.0202, allocations: 203.4 kB / 284.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.02048, allocations: 65.36 kB / 284.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.02305, allocations: 0.86 MB / 285.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.384e-05/0.02314, allocations: 109.3 kB / 285.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.02324, allocations: 38.89 kB / 285.3 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.02337, allocations: 107.3 kB / 285.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02337, allocations: 0 / 285.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of Templates: time 0.006169/0.02954, allocations: 3.562 MB / 289 MB, free: 15.93 MB / 298.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0797035107389092]