Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001453/0.001453, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.00154/0.00154, allocations: 208.1 kB / 23.73 MB, free: 4.379 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2321/0.2321, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.89 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.004017/0.3939, allocations: 1.636 MB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3953, allocations: 0.5505 MB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3954, allocations: 0 / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.3957, allocations: 91.67 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.3961, allocations: 119.6 kB / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.3966, allocations: 119.2 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.3968, allocations: 107.7 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3969, allocations: 22.66 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.397, allocations: 47.83 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.3972, allocations: 67.8 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3972, allocations: 4 kB / 0.5638 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3974, allocations: 43.98 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.729e-05/0.3974, allocations: 31.91 kB / 0.5639 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.3975, allocations: 35.73 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.3977, allocations: 139 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3978, allocations: 0 / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3978, allocations: 0 / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3978, allocations: 0 / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006485/0.3984, allocations: 357.5 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3985, allocations: 12.03 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.12e-05/0.3985, allocations: 12.84 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3988, allocations: 162.2 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3988, allocations: 8.375 kB / 0.5646 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.3988, allocations: 8.375 kB / 0.5646 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.399, allocations: 73.78 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.399, allocations: 7.953 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3991, allocations: 4 kB / 0.5646 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3991, allocations: 0 / 0.5646 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3992, allocations: 43.95 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.3997, allocations: 276.3 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3999, allocations: 62.5 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.4, allocations: 28.84 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.4, allocations: 0 / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/0.4, allocations: 42.48 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001193/0.4012, allocations: 341.3 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4013, allocations: 55.34 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.4016, allocations: 235.6 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4016, allocations: 25.7 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.4017, allocations: 116 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.4017, allocations: 43.64 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.4018, allocations: 29.7 kB / 0.5659 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.402, allocations: 326.8 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.4021, allocations: 43.97 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.4022, allocations: 47.97 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.4025, allocations: 112.2 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4025, allocations: 4 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003043/0.4028, allocations: 157.5 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4028, allocations: 4 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4028, allocations: 0 / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4028, allocations: 0 / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.403, allocations: 31.91 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.403, allocations: 8 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.403, allocations: 4 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.403, allocations: 4 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.4032, allocations: 138.3 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.4032, allocations: 15.91 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.4036, allocations: 191.6 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4036, allocations: 11.88 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4037, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4037, allocations: 4 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000695/0.4044, allocations: 430.8 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4044, allocations: 0 / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4045, allocations: 27.98 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4045, allocations: 0 / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4045, allocations: 4 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4045, allocations: 4 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4045, allocations: 0 / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4048, allocations: 268.2 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.4049, allocations: 11.91 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4049, allocations: 0 / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.405, allocations: 4 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.405, allocations: 19.95 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.405, allocations: 4 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.4052, allocations: 189.1 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4052, allocations: 0 / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.4055, allocations: 27.92 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/0.4075, allocations: 497.2 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.4078, allocations: 111.8 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4078, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.408, allocations: 63.84 kB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4084, allocations: 30.67 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.4091, allocations: 323.7 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.4093, allocations: 117.6 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.721e-05/0.4093, allocations: 28.45 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.4094, allocations: 19.38 kB / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4094, allocations: 0 / 0.569 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.005388/0.4148, allocations: 1.709 MB / 0.5707 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 5.3691086932085454]