Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001014/0.001014, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001054/0.001054, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 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.988/0.988, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2686/0.2686, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.587e-05, allocations: 2.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.006169/0.006205, allocations: 1.665 MB / 377.7 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004064/0.01027, allocations: 0.5415 MB / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.01035, allocations: 0 / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.01064, allocations: 79.64 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.01099, allocations: 107.5 kB / 378.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.0113, allocations: 119.6 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.01148, allocations: 75.83 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.01159, allocations: 19.97 kB / 378.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.01167, allocations: 35.91 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.01178, allocations: 63.8 kB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.01179, allocations: 4 kB / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.01189, allocations: 47.91 kB / 378.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.01194, allocations: 23.88 kB / 378.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.01198, allocations: 19.92 kB / 378.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.01217, allocations: 87.66 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.01217, allocations: 0 / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01217, allocations: 0 / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.01218, allocations: 0 / 378.9 MB, free: 2.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004553/0.01263, allocations: 447.9 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003067/0.0157, allocations: 8.031 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.01578, allocations: 16.78 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.01599, allocations: 153.1 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.016, allocations: 4.375 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.01602, allocations: 4.375 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.01617, allocations: 54.95 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01618, allocations: 192 / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.01619, allocations: 12.12 kB / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.0162, allocations: 0 / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.01624, allocations: 15.92 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.01661, allocations: 291.7 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.01669, allocations: 43.12 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.01671, allocations: 11.62 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.01674, allocations: 8 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.01676, allocations: 41.33 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01676, allocations: 0 / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006335/0.0174, allocations: 173.6 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.01743, allocations: 59.39 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.0176, allocations: 234.4 kB / 380.4 MB, free: 364 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.01761, allocations: 25.7 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.01767, allocations: 150.9 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.0177, allocations: 35.73 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.01775, allocations: 27.38 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.0179, allocations: 0.5 MB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.01793, allocations: 8 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.01795, allocations: 7.984 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.01802, allocations: 43.84 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01802, allocations: 0 / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00012/0.01814, allocations: 77.58 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01816, allocations: 8 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01816, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01817, allocations: 0 / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.01827, allocations: 23.92 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01827, allocations: 0 / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.0183, allocations: 8 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.01831, allocations: 3.984 kB / 381.4 MB, free: 15.4 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 (8): * Single equations (assignments): 8 * 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 7.818e-05/0.01839, allocations: 164.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.01842, allocations: 19.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.02167, allocations: 79.14 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02167, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.02167, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.02168, allocations: 3.984 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.02208, allocations: 381 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02208, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.02216, allocations: 19.98 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.02216, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.02217, allocations: 7.938 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.02217, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02217, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.02234, allocations: 235.5 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.02235, allocations: 11.94 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.02237, allocations: 8 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.02243, allocations: 4.031 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.02247, allocations: 11.92 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.02248, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.659e-05/0.02258, allocations: 167.2 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02258, allocations: 4 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.02283, allocations: 19.88 kB / 382.5 MB, free: 14.2 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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.00112/0.02395, allocations: 441.4 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.02409, allocations: 43.66 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02409, allocations: 7.938 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.02414, allocations: 35.61 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.02665, allocations: 19.94 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006128/0.02726, allocations: 237.8 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.02733, allocations: 71.33 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.02741, allocations: 21.08 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.02746, allocations: 20.5 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.02746, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Templates: time 0.004717/0.03218, allocations: 1.404 MB / 384.8 MB, free: 12.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.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.2928003761917353]