Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 117 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3186, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.004366/0.323, allocations: 3.206 MB / 0.5348 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.3267, allocations: 2.186 MB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.327, allocations: 14.84 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.3289, allocations: 0.9269 MB / 0.5378 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.3303, allocations: 0.7794 MB / 0.5386 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3319, allocations: 0.7186 MB / 0.5393 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3332, allocations: 1.233 MB / 0.5405 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002682/0.3335, allocations: 154.3 kB / 0.5407 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.334, allocations: 488.2 kB / 0.5411 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.3345, allocations: 477.3 kB / 0.5416 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.3347, allocations: 54.69 kB / 0.5416 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.3351, allocations: 238 kB / 0.5419 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.3354, allocations: 241.9 kB / 0.5421 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.3358, allocations: 412.7 kB / 0.5425 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.337, allocations: 1.04 MB / 0.5435 GB, free: 5.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.337, allocations: 0 / 0.5435 GB, free: 5.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.337, allocations: 0 / 0.5435 GB, free: 5.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.337, allocations: 0 / 0.5435 GB, free: 5.012 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002041/0.339, allocations: 1.508 MB / 0.545 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3391, allocations: 9.125 kB / 0.545 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.3393, allocations: 109.7 kB / 0.5451 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3403, allocations: 0.7556 MB / 0.5458 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3404, allocations: 17.69 kB / 0.5458 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.3404, allocations: 30.28 kB / 0.5459 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007119/0.3411, allocations: 410.4 kB / 0.5463 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3412, allocations: 0 / 0.5463 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.3412, allocations: 12 kB / 0.5463 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3412, allocations: 15.92 kB / 0.5463 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.3417, allocations: 203.8 kB / 0.5465 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3436, allocations: 1.541 MB / 0.548 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3446, allocations: 0.5051 MB / 0.5485 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.345, allocations: 198.8 kB / 0.5487 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.3451, allocations: 19.89 kB / 0.5487 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/0.3457, allocations: 383.3 kB / 0.5491 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.3457, allocations: 0 / 0.5491 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001483/0.3472, allocations: 0.6859 MB / 0.5497 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002171/0.3474, allocations: 452.9 kB / 0.5502 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3488, allocations: 1.115 MB / 0.5512 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.3488, allocations: 45.7 kB / 0.5513 GB, free: 13.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.3492, allocations: 393.4 kB / 0.5517 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3493, allocations: 131 kB / 0.5518 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.3495, allocations: 102.2 kB / 0.5519 GB, free: 12.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3496, allocations: 330 kB / 0.5522 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.3499, allocations: 145 kB / 0.5523 GB, free: 11.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.3504, allocations: 376.9 kB / 0.5527 GB, free: 11.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006908/0.3511, allocations: 409.7 kB / 0.5531 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3511, allocations: 0 / 0.5531 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009736/0.3521, allocations: 0.5437 MB / 0.5536 GB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3521, allocations: 8 kB / 0.5536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3522, allocations: 4 kB / 0.5536 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3522, allocations: 8 kB / 0.5536 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.3525, allocations: 91.83 kB / 0.5537 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.3525, allocations: 8 kB / 0.5537 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.3529, allocations: 71.81 kB / 0.5538 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.3529, allocations: 20 kB / 0.5538 GB, free: 10.26 MB / 414.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.000349/0.3533, allocations: 309.5 kB / 0.5541 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3534, allocations: 111.2 kB / 0.5542 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.3536, allocations: 100.3 kB / 0.5543 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3536, allocations: 7.984 kB / 0.5543 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3536, allocations: 256 / 0.5543 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.3538, allocations: 176.4 kB / 0.5545 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.3539, allocations: 20 kB / 0.5545 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3542, allocations: 43.95 kB / 0.5546 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3543, allocations: 51.83 kB / 0.5546 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001245/0.3556, allocations: 1.109 MB / 0.5557 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001308/0.3569, allocations: 1.277 MB / 0.5569 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000515/0.3574, allocations: 267.8 kB / 0.5572 GB, free: 6.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009625/0.3584, allocations: 0.7832 MB / 0.558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of Backend: time 6.72e-07/0.3584, allocations: 0 / 0.558 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.3611, allocations: 0.7717 MB / 0.5587 GB, free: 5.312 MB / 414.1 MB Notification: Performance of SimCode: time 0.002619/0.3637, allocations: 1.951 MB / 0.5606 GB, free: 3.32 MB / 414.1 MB Notification: Performance of Templates: time 0.02338/0.3871, allocations: 14.63 MB / 0.5749 GB, free: 4.824 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/BooleanTable/BooleanTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.BooleanTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches