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.001986/0.001986, allocations: 80.34 kB / 20.95 MB, free: 3.457 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.002301/0.002301, allocations: 165.3 kB / 24.27 MB, free: 148 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.481/1.481, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3507/0.3507, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.671e-06, allocations: 4 kB / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/3.129e-05, allocations: 9.625 kB / 375.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003332/0.003364, allocations: 1.916 MB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.005815, allocations: 1.146 MB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.005913, allocations: 0 / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006888/0.006602, allocations: 207.3 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.007108, allocations: 219.1 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.007502, allocations: 163.4 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.007875, allocations: 275.1 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.007968, allocations: 16.58 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.008186, allocations: 139.6 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.008354, allocations: 107.7 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.008384, allocations: 12 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.00853, allocations: 63.88 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.008624, allocations: 59.77 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.008706, allocations: 47.84 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.009068, allocations: 243.1 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009071, allocations: 0 / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.009072, allocations: 0 / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.009077, allocations: 4 kB / 379.9 MB, free: 260 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008766/0.009953, allocations: 0.4905 MB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.009991, allocations: 8.031 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.01008, allocations: 36.75 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.01046, allocations: 233.8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.01048, allocations: 4.359 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.01049, allocations: 4.375 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.01074, allocations: 95.92 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.01075, allocations: 3.938 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.01077, allocations: 8 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.01077, allocations: 0 / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.01092, allocations: 51.91 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.01143, allocations: 309.3 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.01177, allocations: 117.2 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.01189, allocations: 45.69 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.0119, allocations: 0 / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.01216, allocations: 128.9 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.01216, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005361/0.01269, allocations: 193.4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.01276, allocations: 81.09 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.01321, allocations: 360.5 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01323, allocations: 25.7 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01336, allocations: 140.1 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.01341, allocations: 35.84 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.01347, allocations: 29.7 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.01367, allocations: 338.8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.01378, allocations: 39.98 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01394, allocations: 97.97 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.01416, allocations: 99.84 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.01417, allocations: 7.938 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003366/0.0145, allocations: 165.3 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.01452, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01452, allocations: 4.094 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.01455, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01468, allocations: 19.98 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.01469, allocations: 4 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.01477, allocations: 7.953 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.01479, allocations: 8 kB / 383.1 MB, free: 12.86 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: 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 0.0001772/0.01497, allocations: 161.6 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.01502, allocations: 31.86 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.01544, allocations: 175.5 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.01544, allocations: 4 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01545, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01545, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.0157, allocations: 197.2 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.0157, allocations: 3.938 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.01575, allocations: 8 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01575, allocations: 7.938 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01577, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01577, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.01577, allocations: 8.172 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.01616, allocations: 209.1 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.01621, allocations: 31.73 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.01625, allocations: 8 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.01633, allocations: 7.984 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.01639, allocations: 7.984 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.01641, allocations: 8 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.01673, allocations: 263 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01673, allocations: 4 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01701, allocations: 39.92 kB / 384.2 MB, free: 11.64 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: 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.001938/0.01895, allocations: 452.7 kB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.01925, allocations: 99.89 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01926, allocations: 3.938 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.01941, allocations: 47.97 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.01984, allocations: 64.48 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.02089, allocations: 421.9 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.02106, allocations: 141 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02116, allocations: 30.09 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.02123, allocations: 32.48 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02123, allocations: 4 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.007687/0.02892, allocations: 3.237 MB / 388.7 MB, free: 7.316 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.894968652981333]