Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.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.001562/0.001562, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001693/0.001693, allocations: 205.7 kB / 24.49 MB, free: 3.965 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003212/0.003212, allocations: 67.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.305, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.004596/0.3096, allocations: 2.944 MB / 0.5647 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.3134, allocations: 2.136 MB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.3136, allocations: 15.88 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.3155, allocations: 0.9699 MB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.317, allocations: 0.8014 MB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3186, allocations: 0.7322 MB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3198, allocations: 1.266 MB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.32, allocations: 95.69 kB / 0.5706 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.3205, allocations: 498.1 kB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.3211, allocations: 0.5055 MB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.366e-05/0.3212, allocations: 56 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.3216, allocations: 267.6 kB / 0.5718 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.3219, allocations: 251.1 kB / 0.5721 GB, free: 9.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.3222, allocations: 302 kB / 0.5724 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3233, allocations: 1.056 MB / 0.5734 GB, free: 8.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3233, allocations: 0 / 0.5734 GB, free: 8.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3233, allocations: 4 kB / 0.5734 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.3233, allocations: 0 / 0.5734 GB, free: 8.305 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002149/0.3254, allocations: 1.416 MB / 0.5748 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3255, allocations: 12.03 kB / 0.5748 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.3257, allocations: 108.2 kB / 0.5749 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3267, allocations: 0.6635 MB / 0.5755 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.3268, allocations: 20.88 kB / 0.5756 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3268, allocations: 36.11 kB / 0.5756 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.3275, allocations: 362.7 kB / 0.5759 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3275, allocations: 0 / 0.5759 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.3276, allocations: 15.98 kB / 0.576 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.3276, allocations: 4 kB / 0.576 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.3281, allocations: 223.7 kB / 0.5762 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.3298, allocations: 1.408 MB / 0.5776 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3308, allocations: 0.4973 MB / 0.578 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.3312, allocations: 202.7 kB / 0.5782 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3312, allocations: 4 kB / 0.5782 GB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006782/0.3319, allocations: 399.4 kB / 0.5786 GB, free: 2.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.244e-06/0.3319, allocations: 0 / 0.5786 GB, free: 2.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001606/0.3335, allocations: 0.721 MB / 0.5793 GB, free: 1.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.3337, allocations: 243.3 kB / 0.5796 GB, free: 1.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.3351, allocations: 1.126 MB / 0.5807 GB, free: 464 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.3351, allocations: 45.69 kB / 0.5807 GB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.3354, allocations: 389.4 kB / 0.5811 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.3356, allocations: 135.2 kB / 0.5812 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3357, allocations: 98.33 kB / 0.5813 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3358, allocations: 326 kB / 0.5816 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3362, allocations: 161.2 kB / 0.5818 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006117/0.3368, allocations: 0.528 MB / 0.5823 GB, free: 14.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.3376, allocations: 433.6 kB / 0.5827 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3376, allocations: 4 kB / 0.5827 GB, free: 14.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001073/0.3387, allocations: 0.5549 MB / 0.5832 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3387, allocations: 8 kB / 0.5832 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3387, allocations: 7.984 kB / 0.5832 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.3387, allocations: 4 kB / 0.5832 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.3391, allocations: 104 kB / 0.5833 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.3391, allocations: 11.94 kB / 0.5834 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3394, allocations: 72.12 kB / 0.5834 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.3395, allocations: 23.98 kB / 0.5835 GB, free: 13.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.booleanTable1.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable1.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,$whenCondition7,booleanTable2a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,$whenCondition6,booleanTable2b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable3a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,$whenCondition4,booleanTable3b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,$whenCondition3,booleanTable3c.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,$whenCondition2,booleanTable4a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable4b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0003371/0.3398, allocations: 301.7 kB / 0.5837 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.34, allocations: 111.2 kB / 0.5838 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3413, allocations: 0.6426 MB / 0.5845 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3413, allocations: 3.984 kB / 0.5845 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3413, allocations: 4 kB / 0.5845 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.3415, allocations: 99.27 kB / 0.5846 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3416, allocations: 20 kB / 0.5846 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.3419, allocations: 35.95 kB / 0.5846 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.342, allocations: 55.8 kB / 0.5847 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001436/0.3434, allocations: 1.187 MB / 0.5858 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001455/0.3449, allocations: 1.324 MB / 0.5871 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005322/0.3454, allocations: 271.7 kB / 0.5874 GB, free: 9.289 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.3464, allocations: 0.7911 MB / 0.5882 GB, free: 8.488 MB / 430.1 MB Notification: Performance of Backend: time 2.5e-07/0.3464, allocations: 0 / 0.5882 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003312/0.3497, allocations: 0.7732 MB / 0.5889 GB, free: 7.895 MB / 430.1 MB Notification: Performance of SimCode: time 0.002793/0.3525, allocations: 1.961 MB / 0.5908 GB, free: 5.895 MB / 430.1 MB Notification: Performance of Templates: time 0.02355/0.3761, allocations: 14.17 MB / 0.6047 GB, free: 7.883 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/BooleanTable/BooleanTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.BooleanTable.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.160754718999669]