Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001/0.001, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001193/0.001193, allocations: 161 kB / 24.55 MB, free: 20 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.9694/0.9694, allocations: 177.1 MB / 205 MB, free: 5.578 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.3061/0.3061, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.742e-05, allocations: 5.547 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003056/0.003093, allocations: 1.774 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.005041, allocations: 1.73 MB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.005129, allocations: 0 / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.005454, allocations: 31.83 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.005818, allocations: 111.3 kB / 379.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.006031, allocations: 87.59 kB / 379.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.006202, allocations: 107.7 kB / 379.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.006292, allocations: 8 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.006384, allocations: 67.75 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.006495, allocations: 39.89 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.006512, allocations: 4 kB / 380.1 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.006677, allocations: 111.7 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.006728, allocations: 23.92 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.006772, allocations: 23.92 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.00705, allocations: 167.4 kB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.007054, allocations: 0 / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.007055, allocations: 4 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.007062, allocations: 0 / 380.4 MB, free: 276 kB / 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.0007199/0.007782, allocations: 459.7 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.007848, allocations: 12.02 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.007931, allocations: 16.89 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.008197, allocations: 159.3 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.008227, allocations: 4.375 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.008267, allocations: 4.375 kB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.008521, allocations: 112 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.008537, allocations: 7.875 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.008552, allocations: 8 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.008563, allocations: 0 / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.008626, allocations: 15.98 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.009102, allocations: 295.6 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.009281, allocations: 59.17 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.009326, allocations: 23.61 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.009352, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.00951, allocations: 73.05 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.497e-06/0.009513, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006169/0.01013, allocations: 177.3 kB / 381.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.01019, allocations: 77.11 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01035, allocations: 227.1 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01037, allocations: 33.7 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.01044, allocations: 142.9 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.01047, allocations: 31.73 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.01052, allocations: 31.36 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.0107, allocations: 0.4962 MB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.01073, allocations: 8 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.0108, allocations: 76.75 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.01088, allocations: 63.23 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01088, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000144/0.01102, allocations: 97.58 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01104, allocations: 4 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01104, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.01106, allocations: 4 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.01116, allocations: 15.98 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01117, allocations: 3.938 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.0112, allocations: 4.062 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.01121, allocations: 12.41 kB / 383.1 MB, free: 13.3 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 (11): * Single equations (assignments): 11 * 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 9.509e-05/0.0113, allocations: 168.5 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.01133, allocations: 15.91 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.01153, allocations: 118.4 kB / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01154, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01154, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01154, allocations: 0 / 383.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.01193, allocations: 420.9 kB / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01194, allocations: 0 / 383.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.01198, allocations: 20.03 kB / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01198, allocations: 0 / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01199, allocations: 4 kB / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.012, allocations: 3.984 kB / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.012, allocations: 0 / 383.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01218, allocations: 279.3 kB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.0122, allocations: 15.91 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01222, allocations: 4 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.01227, allocations: 7.984 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.01231, allocations: 7.984 kB / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.01232, allocations: 8 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.658e-05/0.01241, allocations: 163.1 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01241, allocations: 0 / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01264, allocations: 55.86 kB / 384.4 MB, free: 11.95 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 (11): * Single equations (assignments): 9 * 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.001226/0.01387, allocations: 0.5448 MB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.01403, allocations: 59.59 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01403, allocations: 3.938 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.01408, allocations: 35.67 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01433, allocations: 36.09 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.01475, allocations: 221.9 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.0148, allocations: 63.34 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.01485, allocations: 24.62 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.01489, allocations: 20.48 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01489, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005115/0.02001, allocations: 2.663 MB / 388 MB, free: 8.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.3718570810742676]