Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001288/0.001288, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001462/0.001462, allocations: 165.4 kB / 24.82 MB, free: 9.309 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2569/0.2569, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.934e-05, allocations: 5.266 kB / 376.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002516/0.002545, allocations: 1.844 MB / 378.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.004408, allocations: 1.785 MB / 380.2 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004527, allocations: 3.938 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.00485, allocations: 59.56 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.005241, allocations: 143.3 kB / 380.4 MB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.00548, allocations: 111.6 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.005697, allocations: 211.2 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.005744, allocations: 9.812 kB / 380.7 MB, free: 160 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.005875, allocations: 111.6 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.006023, allocations: 67.78 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.006045, allocations: 8 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.006218, allocations: 103.9 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.00627, allocations: 31.86 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.006316, allocations: 47.83 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.006564, allocations: 203.2 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006566, allocations: 4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006567, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.006571, allocations: 0 / 381.3 MB, free: 15.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004915/0.007062, allocations: 0.5187 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.007099, allocations: 8.031 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.007147, allocations: 24.8 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.007334, allocations: 188.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.00735, allocations: 384 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007361, allocations: 4.375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.007532, allocations: 173 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.00754, allocations: 3.938 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.007547, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.007552, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.007586, allocations: 23.97 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.007716, allocations: 140.9 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.00783, allocations: 94.14 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.007861, allocations: 31.36 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.007877, allocations: 4 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.007994, allocations: 108.3 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.007995, allocations: 0 / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002152/0.00821, allocations: 141.4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.008257, allocations: 132.5 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.008424, allocations: 266.6 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.008438, allocations: 25.7 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.008497, allocations: 166.8 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.008532, allocations: 35.77 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.008572, allocations: 43.34 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.008688, allocations: 0.4962 MB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.008715, allocations: 12.48 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.008779, allocations: 121.5 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.008844, allocations: 74.67 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008846, allocations: 0 / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001217/0.008967, allocations: 117.4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.008979, allocations: 8.094 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008985, allocations: 4 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.008997, allocations: 3.938 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.009071, allocations: 19.98 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009075, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.00912, allocations: 8 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009127, allocations: 4 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.43e-05/0.009211, allocations: 172.5 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.009239, allocations: 27.84 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.009401, allocations: 138.7 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009404, allocations: 3.938 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.009407, allocations: 4.25 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.00941, allocations: 0 / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.009516, allocations: 137.1 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009517, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.009549, allocations: 15.98 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.009551, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.009558, allocations: 7.938 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00956, allocations: 0 / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009561, allocations: 0 / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.009718, allocations: 191.8 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.009742, allocations: 15.89 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.009763, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.0098, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.00983, allocations: 11.92 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.009844, allocations: 7.984 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.009934, allocations: 193.7 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.009934, allocations: 4 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.01013, allocations: 51.88 kB / 385.2 MB, free: 11.25 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001045/0.01117, allocations: 0.5019 MB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01129, allocations: 63.58 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01129, allocations: 0 / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.01133, allocations: 31.8 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01156, allocations: 74.64 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.01194, allocations: 286.2 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.01199, allocations: 75.98 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.844e-05/0.01205, allocations: 21.48 kB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01217, allocations: 126.1 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01217, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.00551/0.01768, allocations: 3.78 MB / 390.2 MB, free: 6.492 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.931464889086783]