Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001037/0.001037, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001069/0.001069, allocations: 162.2 kB / 24.99 MB, free: 8.746 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.9959/0.9959, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2772/0.2772, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.296e-05, allocations: 2.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002536/0.002559, allocations: 1.966 MB / 380.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003864, allocations: 1.043 MB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.003993, allocations: 4 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.004324, allocations: 43.64 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.004687, allocations: 95.42 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.004932, allocations: 99.58 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.005145, allocations: 155.5 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.005262, allocations: 21.75 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.005375, allocations: 79.73 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.005463, allocations: 35.89 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.005482, allocations: 8 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-05/0.005576, allocations: 47.92 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.005634, allocations: 27.84 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.005688, allocations: 31.86 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.005923, allocations: 135.4 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005927, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005928, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005933, allocations: 0 / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005564/0.006489, allocations: 0.4936 MB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.006532, allocations: 12.03 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.006597, allocations: 24.8 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.006825, allocations: 177.1 kB / 382.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.006845, allocations: 4.375 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.00687, allocations: 8.375 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.0071, allocations: 139.7 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007114, allocations: 7.875 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.007129, allocations: 8 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.007141, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.007205, allocations: 23.97 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.007877, allocations: 0.5911 MB / 383.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.008376, allocations: 75.08 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.008415, allocations: 19.69 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.008432, allocations: 7.922 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.008575, allocations: 102.8 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.953e-06/0.008577, allocations: 4 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000243/0.00882, allocations: 113.5 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.008851, allocations: 51.41 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.009012, allocations: 243.1 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009028, allocations: 29.7 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.009106, allocations: 162.8 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.009131, allocations: 31.73 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.009172, allocations: 35.36 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.009303, allocations: 0.504 MB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.066e-05/0.009344, allocations: 19.98 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.569e-05/0.0094, allocations: 70.36 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.009486, allocations: 78.38 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009489, allocations: 0 / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001603/0.009649, allocations: 113.5 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.009665, allocations: 4.125 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.009672, allocations: 8 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.009685, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.009756, allocations: 23.92 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.009763, allocations: 4 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.009806, allocations: 11.94 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.009815, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001063/0.009921, allocations: 168.5 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.009944, allocations: 15.91 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.01013, allocations: 111.1 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01013, allocations: 4 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.01014, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01015, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01029, allocations: 168.5 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01029, allocations: 0 / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.01036, allocations: 15.94 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01036, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01038, allocations: 7.922 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01038, allocations: 0 / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01039, allocations: 4 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.01062, allocations: 156.8 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01064, allocations: 19.83 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01067, allocations: 8 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.0107, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.01075, allocations: 7.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01077, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.01088, allocations: 175.1 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001982/0.01107, allocations: 24 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001128/0.0122, allocations: 390.9 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.01237, allocations: 59.3 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01237, allocations: 0 / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.01243, allocations: 43.86 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01268, allocations: 47.64 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.01317, allocations: 254 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.01321, allocations: 71.83 kB / 386.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.01326, allocations: 17.48 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.0133, allocations: 20.5 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0133, allocations: 4 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of Templates: time 0.004276/0.01758, allocations: 2.059 MB / 388.9 MB, free: 7.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.209770751185715]