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.001869/0.001869, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002008/0.002008, allocations: 165.3 kB / 24.27 MB, free: 152 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.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3487/0.3487, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.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 1.904e-06/1.904e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.132e-05, allocations: 2.312 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005075/0.005107, allocations: 1.962 MB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.008527, allocations: 1.157 MB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.008644, allocations: 4 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.009543, allocations: 203.2 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.01025, allocations: 211.1 kB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.01102, allocations: 167.5 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.01154, allocations: 271.1 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.01166, allocations: 16.59 kB / 379.3 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.012, allocations: 147.5 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.01226, allocations: 103.8 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.01231, allocations: 15.94 kB / 379.6 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.01252, allocations: 55.95 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.01266, allocations: 59.77 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.01276, allocations: 39.86 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.01331, allocations: 263 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01332, allocations: 0 / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01332, allocations: 0 / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01332, allocations: 0 / 380 MB, free: 244 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.001272/0.0146, allocations: 0.6096 MB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.01464, allocations: 8.031 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.01475, allocations: 32.73 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.01531, allocations: 224.7 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.01534, allocations: 8.359 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.01536, allocations: 8.375 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.01569, allocations: 105.5 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.0157, allocations: 3.938 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.01572, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.01573, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.01592, allocations: 31.98 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.01678, allocations: 403.3 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.01726, allocations: 130.2 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01742, allocations: 47.3 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01745, allocations: 8 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.0178, allocations: 132.3 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.0178, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007235/0.01853, allocations: 173.4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.01861, allocations: 81.11 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.01933, allocations: 398.3 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.01937, allocations: 29.7 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.01962, allocations: 206.8 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.01968, allocations: 27.8 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.01979, allocations: 39.36 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004276/0.02022, allocations: 0.5313 MB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.02036, allocations: 31.92 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.02058, allocations: 100.1 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.0209, allocations: 107.2 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.02091, allocations: 3.938 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004642/0.02137, allocations: 149.4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.02139, allocations: 10.03 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.0214, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.02142, allocations: 4.094 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.02159, allocations: 27.92 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.0216, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.02174, allocations: 11.95 kB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.02176, allocations: 8 kB / 383.6 MB, free: 12.3 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.0002287/0.02199, allocations: 184.4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.02207, allocations: 31.86 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.02262, allocations: 163.5 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.02262, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02263, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02263, allocations: 4 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.02304, allocations: 228.5 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.02304, allocations: 7.938 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.02312, allocations: 11.94 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02313, allocations: 0 / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.02315, allocations: 11.98 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02315, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02316, allocations: 3.938 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.02371, allocations: 196.1 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.02379, allocations: 39.73 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.02384, allocations: 8 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02396, allocations: 8 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.02403, allocations: 11.97 kB / 384.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.02406, allocations: 8 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004633/0.02452, allocations: 270.9 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02452, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004616/0.02498, allocations: 39.92 kB / 384.8 MB, free: 11.02 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.004099/0.02908, allocations: 446.2 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.02952, allocations: 111.3 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02952, allocations: 0 / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.02973, allocations: 59.59 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.03035, allocations: 67.52 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.03141, allocations: 378.5 kB / 385.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.03164, allocations: 144.9 kB / 386 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.03177, allocations: 30.08 kB / 386 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.03202, allocations: 24.5 kB / 386 MB, free: 9.906 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03202, allocations: 0 / 386 MB, free: 9.906 MB / 362.7 MB Notification: Performance of Templates: time 0.01164/0.04366, allocations: 3.226 MB / 389.3 MB, free: 6.723 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=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","/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: 5.158653293037787]