Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009067/0.0009067, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0008948/0.0008948, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9238/0.9238, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 32.8 MB / 294.3 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.282e-05, allocations: 8.922 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00207/0.002083, allocations: 1.638 MB / 377.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.002731, allocations: 0.5336 MB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.002771, allocations: 0 / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.00291, allocations: 27.78 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.003102, allocations: 79.56 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.003283, allocations: 95.62 kB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003385, allocations: 63.78 kB / 378.5 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.003448, allocations: 15.97 kB / 378.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.00349, allocations: 27.92 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.003528, allocations: 15.98 kB / 378.5 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.003539, allocations: 11.88 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.003589, allocations: 31.92 kB / 378.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.003621, allocations: 11.98 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.003643, allocations: 11.94 kB / 378.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.00375, allocations: 67.73 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003752, allocations: 0 / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003753, allocations: 0 / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.003756, allocations: 4 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000302/0.004058, allocations: 408.2 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.004085, allocations: 8.031 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.004116, allocations: 16.89 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.004249, allocations: 140.4 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.004257, allocations: 4.375 kB / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.004272, allocations: 384 / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/0.004367, allocations: 54.95 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.004375, allocations: 192 / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.004383, allocations: 4.125 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004388, allocations: 4 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.004413, allocations: 8 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.004633, allocations: 275.7 kB / 379.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.004759, allocations: 39.05 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.004778, allocations: 15.69 kB / 379.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.004792, allocations: 3.938 kB / 379.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.00481, allocations: 33.39 kB / 379.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.00481, allocations: 0 / 379.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002673/0.005078, allocations: 105.5 kB / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.005103, allocations: 55.41 kB / 379.8 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.005204, allocations: 196.1 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.005213, allocations: 29.7 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005257, allocations: 146.8 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.005276, allocations: 23.78 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.005302, allocations: 23.38 kB / 380.2 MB, free: 272 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.00541, allocations: 0.4923 MB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.005424, allocations: 4 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.398e-05/0.005438, allocations: 12.05 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.00547, allocations: 23.69 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.005471, allocations: 0 / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.4e-05/0.005535, allocations: 65.58 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005545, allocations: 6.5 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.005549, allocations: 0 / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005559, allocations: 7.938 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.808e-05/0.005597, allocations: 15.92 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.005601, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.005617, allocations: 4 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005621, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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 5.596e-05/0.005677, allocations: 156.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.005697, allocations: 15.89 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.00579, allocations: 70.14 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.005792, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.005794, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.005797, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.005991, allocations: 321.3 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005992, allocations: 0 / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.006016, allocations: 8.312 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006018, allocations: 0 / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.006026, allocations: 12 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006027, allocations: 0 / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006028, allocations: 0 / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.006124, allocations: 211.8 kB / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.006133, allocations: 16.22 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.006142, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.006171, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.006193, allocations: 11.97 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.006195, allocations: 0 / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.263e-05/0.006248, allocations: 149.9 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006248, allocations: 4 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001457/0.006394, allocations: 8 kB / 381.8 MB, free: 14.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007005/0.007094, allocations: 382.9 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.007174, allocations: 27.61 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007175, allocations: 0 / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.007198, allocations: 27.61 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.007378, allocations: 27.92 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.007624, allocations: 174.6 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.249e-05/0.007657, allocations: 63.33 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.309e-05/0.00768, allocations: 8 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.007701, allocations: 12.5 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007702, allocations: 0 / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.002765/0.01047, allocations: 1.242 MB / 383.8 MB, free: 12.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.8732939707115293]