Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001441/0.001441, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001594/0.001594, allocations: 161.6 kB / 24.27 MB, free: 172 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 1.464/1.464, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3655/0.3655, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.505e-05, allocations: 6.25 kB / 375.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003739/0.003774, allocations: 1.715 MB / 377.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.005919, allocations: 0.9781 MB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.006027, allocations: 0 / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.0064, allocations: 39.78 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.006873, allocations: 99.47 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.007245, allocations: 83.59 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.007514, allocations: 111.6 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.007622, allocations: 4 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.00777, allocations: 51.84 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.007878, allocations: 31.89 kB / 378.5 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.007905, allocations: 4 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.008055, allocations: 43.92 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.008128, allocations: 19.92 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.008193, allocations: 23.86 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.008502, allocations: 123.5 kB / 378.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.008507, allocations: 4 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008508, allocations: 0 / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.008514, allocations: 0 / 378.7 MB, free: 1.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007626/0.009276, allocations: 345.6 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.009322, allocations: 8.031 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.00941, allocations: 16.84 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.009783, allocations: 158 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.009805, allocations: 12.31 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.009833, allocations: 384 / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.01003, allocations: 58.23 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.01004, allocations: 7.938 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.01006, allocations: 3.984 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01006, allocations: 0 / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.01016, allocations: 27.97 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.0106, allocations: 232.6 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.01079, allocations: 54.62 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.01086, allocations: 24.78 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.01089, allocations: 0 / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.01108, allocations: 71.39 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.01108, allocations: 0 / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006744/0.01175, allocations: 193.3 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.01181, allocations: 51.41 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.01218, allocations: 211 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.0122, allocations: 25.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.01229, allocations: 112 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.01233, allocations: 27.8 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.01238, allocations: 25.66 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.01255, allocations: 326.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.01262, allocations: 23.98 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.0127, allocations: 33.7 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01285, allocations: 69.62 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01285, allocations: 0 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002318/0.01309, allocations: 101.6 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.01311, allocations: 14.02 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.01311, allocations: 0 / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.01314, allocations: 0 / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.01325, allocations: 16.03 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01326, allocations: 7.938 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.01331, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01333, allocations: 8.359 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001262/0.01345, allocations: 129.7 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.01349, allocations: 19.91 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.0138, allocations: 131.1 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01381, allocations: 0 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.01381, allocations: 4 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01382, allocations: 0 / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.01435, allocations: 358.9 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01436, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.0144, allocations: 12 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01441, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.01442, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01442, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01442, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.01478, allocations: 216.2 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.0148, allocations: 11.91 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01483, allocations: 8.031 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.01491, allocations: 4 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.01496, allocations: 7.984 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.01498, allocations: 4 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.01515, allocations: 171.1 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01515, allocations: 0 / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01543, allocations: 20 kB / 382 MB, free: 14 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: 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 (9): * Single equations (assignments): 7 * 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.002318/0.01775, allocations: 489.6 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01796, allocations: 63.91 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01797, allocations: 0 / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.01805, allocations: 23.98 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.01843, allocations: 39.89 kB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.01904, allocations: 245.5 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.01917, allocations: 100.8 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.17e-05/0.01923, allocations: 21.27 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.01928, allocations: 16.5 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01928, allocations: 0 / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005708/0.02499, allocations: 1.882 MB / 384.8 MB, free: 11.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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: 4.711659057997167]