Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0009817/0.0009817, allocations: 80.8 kB / 21.49 MB, free: 3 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.000934/0.000934, allocations: 172.7 kB / 24.91 MB, free: 9.215 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.945/0.945, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2582/0.2582, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.36e-05, allocations: 2.312 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002435/0.002459, allocations: 1.983 MB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.004051, allocations: 1.169 MB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.004151, allocations: 4 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.004712, allocations: 199.3 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.005076, allocations: 215.1 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.005408, allocations: 167.4 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.005673, allocations: 271.8 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.005769, allocations: 26.53 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.005934, allocations: 147.6 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.006049, allocations: 87.77 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.006068, allocations: 12 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.006185, allocations: 67.89 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.006248, allocations: 55.75 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.006438, allocations: 51.8 kB / 327.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.006633, allocations: 183.2 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.006635, allocations: 4 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.006635, allocations: 4 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.006638, allocations: 0 / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004461/0.007084, allocations: 466.2 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.007113, allocations: 8.031 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.007149, allocations: 16.92 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.007353, allocations: 222.5 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.007368, allocations: 8.312 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.007383, allocations: 12.36 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.007504, allocations: 91.33 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.007511, allocations: 3.938 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.007519, allocations: 0 / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.007524, allocations: 4 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.367e-05/0.007557, allocations: 17.64 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.007811, allocations: 205.6 kB / 329 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.007923, allocations: 126.6 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.007955, allocations: 37.77 kB / 329.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.007966, allocations: 4 kB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.008071, allocations: 108.6 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.008072, allocations: 0 / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001399/0.008212, allocations: 99.25 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.008242, allocations: 81.11 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.008411, allocations: 276.7 kB / 329.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.008427, allocations: 29.7 kB / 329.7 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.008473, allocations: 116.7 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.008498, allocations: 31.78 kB / 329.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.008532, allocations: 29.7 kB / 329.9 MB, free: 2.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.008614, allocations: 338.8 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.008636, allocations: 18.81 kB / 330.2 MB, free: 2.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/0.008678, allocations: 76.44 kB / 330.3 MB, free: 2.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.008738, allocations: 71.83 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00874, allocations: 0 / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.633e-05/0.008836, allocations: 103.8 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008848, allocations: 8 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008852, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.008863, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.008928, allocations: 24.05 kB / 330.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.008931, allocations: 4 kB / 330.5 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.008975, allocations: 15.89 kB / 330.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.008984, allocations: 7.984 kB / 330.5 MB, free: 2.113 MB / 298.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.681e-05/0.009061, allocations: 132.5 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.009081, allocations: 15.92 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.009196, allocations: 111.5 kB / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009198, allocations: 0 / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009199, allocations: 0 / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009203, allocations: 4 kB / 330.8 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.977e-05/0.009303, allocations: 117.8 kB / 330.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009304, allocations: 0 / 330.9 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.009328, allocations: 15.98 kB / 330.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.00933, allocations: 0 / 330.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.009338, allocations: 7.938 kB / 330.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00934, allocations: 0 / 330.9 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009341, allocations: 8 kB / 330.9 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.009433, allocations: 124.8 kB / 331.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.009453, allocations: 27.8 kB / 331.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.009475, allocations: 7.938 kB / 331.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.009507, allocations: 7.984 kB / 331.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.009541, allocations: 11.98 kB / 331.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.009551, allocations: 4 kB / 331.1 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003132/0.009865, allocations: 119.4 kB / 331.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009865, allocations: 0 / 331.2 MB, free: 1.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.01001, allocations: 32 kB / 331.3 MB, free: 1.316 MB / 298.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001033/0.01105, allocations: 0.5209 MB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.01115, allocations: 60.72 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01115, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.01119, allocations: 36.83 kB / 331.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01137, allocations: 75.17 kB / 332 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.01175, allocations: 357 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.0118, allocations: 87.97 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.01185, allocations: 25.94 kB / 332.4 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.01194, allocations: 95.33 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01194, allocations: 0 / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of Templates: time 0.004829/0.01677, allocations: 3.505 MB / 336 MB, free: 12.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.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.0051654912531376]