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.001396/0.001396, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001624/0.001624, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 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.021/1.021, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.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.1432/0.1432, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.583e-06/1.583e-06, allocations: 0 / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.721e-05, allocations: 9.344 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.006771/0.006798, allocations: 3.412 MB / 351.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.009411, allocations: 0.8226 MB / 351.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.01105, allocations: 8 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.01125, allocations: 75.17 kB / 352 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.01152, allocations: 138.8 kB / 352.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.01191, allocations: 127.7 kB / 352.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.01361, allocations: 0.5371 MB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.01388, allocations: 170.3 kB / 352.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.01427, allocations: 331.3 kB / 353.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.01443, allocations: 171.5 kB / 353.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.01449, allocations: 48 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.38e-05/0.01453, allocations: 48 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.01458, allocations: 115.6 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.01469, allocations: 175.6 kB / 353.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.01505, allocations: 370.6 kB / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.01505, allocations: 0 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.01506, allocations: 0 / 354.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.01507, allocations: 0 / 354.2 MB, free: 2.926 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.0008714/0.01594, allocations: 0.7883 MB / 354.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.01599, allocations: 8.031 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.01609, allocations: 92.61 kB / 355 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.01641, allocations: 269.8 kB / 355.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.01645, allocations: 37.38 kB / 355.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.01651, allocations: 44.38 kB / 355.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.01702, allocations: 444.4 kB / 355.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01704, allocations: 192 / 355.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.01707, allocations: 20.38 kB / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.01709, allocations: 15.94 kB / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.01735, allocations: 170.8 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.019, allocations: 1.592 MB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.01933, allocations: 194.2 kB / 357.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.01954, allocations: 99.33 kB / 357.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.01957, allocations: 4 kB / 357.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.0196, allocations: 33.39 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.255e-06/0.0196, allocations: 4 kB / 357.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001977/0.02158, allocations: 0.9729 MB / 358.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.02163, allocations: 81.11 kB / 359 MB, free: 13.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.02186, allocations: 300.4 kB / 359.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.02188, allocations: 29.7 kB / 359.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.02204, allocations: 322.8 kB / 359.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.395e-05/0.02211, allocations: 122.9 kB / 359.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.186e-05/0.02219, allocations: 79.84 kB / 359.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02234, allocations: 0.5079 MB / 360.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.02244, allocations: 60.95 kB / 360.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.0226, allocations: 200.6 kB / 360.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.02288, allocations: 298.2 kB / 360.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.02288, allocations: 0 / 360.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004188/0.0233, allocations: 333 kB / 361.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.02332, allocations: 12.03 kB / 361.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02333, allocations: 4 kB / 361.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.02348, allocations: 39.64 kB / 361.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.02374, allocations: 115.8 kB / 361.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009512/0.02469, allocations: 1.775 MB / 363.1 MB, free: 9.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.02482, allocations: 16 kB / 363.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.02484, allocations: 16 kB / 363.2 MB, free: 9.262 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.0001489/0.02499, allocations: 176.5 kB / 363.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.02506, allocations: 43.8 kB / 363.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.02511, allocations: 38.06 kB / 363.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02511, allocations: 4 kB / 363.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.02512, allocations: 11.92 kB / 363.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02512, allocations: 4.031 kB / 363.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.02579, allocations: 0.586 MB / 364 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.02579, allocations: 0 / 364 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.02601, allocations: 91.89 kB / 364.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.756e-05/0.02611, allocations: 31.78 kB / 364.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.02612, allocations: 12.06 kB / 364.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008811/0.027, allocations: 1.775 MB / 365.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02701, allocations: 0 / 365.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.0275, allocations: 0.567 MB / 366.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.02757, allocations: 47.72 kB / 366.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.0276, allocations: 4 kB / 366.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.02772, allocations: 24.02 kB / 366.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.02778, allocations: 23.95 kB / 366.6 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.02779, allocations: 15.94 kB / 366.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.02791, allocations: 209 kB / 366.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.02791, allocations: 0 / 366.8 MB, free: 5.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.02824, allocations: 92 kB / 366.9 MB, free: 5.297 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.0001078/0.02835, allocations: 99.44 kB / 367 MB, free: 5.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.0288, allocations: 392.5 kB / 367.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0288, allocations: 0 / 367.4 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.02899, allocations: 273.3 kB / 367.7 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.02932, allocations: 37.36 kB / 367.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.03071, allocations: 0.809 MB / 368.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.318e-05/0.0308, allocations: 113.3 kB / 368.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.481e-05/0.03089, allocations: 34.95 kB / 368.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.03095, allocations: 28.5 kB / 368.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03095, allocations: 0 / 368.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of Templates: time 0.005776/0.03673, allocations: 2.885 MB / 371.6 MB, free: 0.5703 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 -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.360695802140981]