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.001841/0.001841, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002533/0.002533, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 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.225/0.225, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 71.89 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4128, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004109/0.4169, allocations: 1.992 MB / 0.5602 GB, free: 5.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.4192, allocations: 1.217 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4193, allocations: 3.938 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.4201, allocations: 203.4 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.4206, allocations: 207.2 kB / 0.5618 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.421, allocations: 167.5 kB / 0.562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.4214, allocations: 267.3 kB / 0.5622 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4215, allocations: 16.58 kB / 0.5623 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.4217, allocations: 123.5 kB / 0.5624 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.4219, allocations: 123.4 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.4219, allocations: 12 kB / 0.5625 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.4221, allocations: 63.89 kB / 0.5626 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.4222, allocations: 51.84 kB / 0.5626 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4223, allocations: 91.41 kB / 0.5627 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.4226, allocations: 249.3 kB / 0.5629 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4226, allocations: 0 / 0.5629 GB, free: 2.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4226, allocations: 0 / 0.5629 GB, free: 2.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4227, allocations: 0 / 0.5629 GB, free: 2.938 MB / 398.1 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.0009492/0.4236, allocations: 0.4906 MB / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4236, allocations: 8.031 kB / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.4237, allocations: 24.8 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.4241, allocations: 234.6 kB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4241, allocations: 12.36 kB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4241, allocations: 8.125 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.4244, allocations: 104.1 kB / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4244, allocations: 0 / 0.5638 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4244, allocations: 4 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4244, allocations: 0 / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.4246, allocations: 47.91 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.4251, allocations: 356.6 kB / 0.5642 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.4254, allocations: 117.2 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4255, allocations: 41.69 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4256, allocations: 0 / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.4258, allocations: 117 kB / 0.5644 GB, free: 1.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4258, allocations: 4 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000477/0.4263, allocations: 181.4 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.4264, allocations: 102.8 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.4268, allocations: 356.5 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4268, allocations: 29.7 kB / 0.5651 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4269, allocations: 136.1 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.427, allocations: 35.8 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.427, allocations: 41.7 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4272, allocations: 338.8 kB / 0.5656 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4273, allocations: 31.98 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.4275, allocations: 75.8 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4277, allocations: 99.39 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4277, allocations: 0 / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003017/0.428, allocations: 146.1 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.428, allocations: 4 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.428, allocations: 11.94 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.428, allocations: 3.938 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4282, allocations: 31.98 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4282, allocations: 4 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.4283, allocations: 11.89 kB / 0.566 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4283, allocations: 7.938 kB / 0.566 GB, free: 15.52 MB / 414.1 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.0001729/0.4284, allocations: 157.7 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4285, allocations: 31.8 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.4289, allocations: 155.4 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4289, allocations: 4 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4289, allocations: 3.984 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4289, allocations: 4 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.4291, allocations: 224.6 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4291, allocations: 0 / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.4292, allocations: 11.98 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4292, allocations: 4 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4292, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4292, allocations: 0 / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4292, allocations: 4 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.4295, allocations: 193.6 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.4295, allocations: 27.8 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.4296, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.4297, allocations: 12.11 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.4297, allocations: 11.98 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.4297, allocations: 11.94 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.43, allocations: 263 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.43, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4303, allocations: 32 kB / 0.5671 GB, free: 14.3 MB / 414.1 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 (11): * Single equations (assignments): 7 * 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.001615/0.4319, allocations: 422.2 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4322, allocations: 80.03 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4322, allocations: 3.938 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4323, allocations: 56.28 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.4327, allocations: 74.69 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.4335, allocations: 430 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4339, allocations: 0.7557 MB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.434, allocations: 19.44 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.434, allocations: 0 / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of Templates: time 0.006419/0.4404, allocations: 3.346 MB / 0.5722 GB, free: 9.234 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/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: 8.180285906186327]