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.001088/0.001088, allocations: 110.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001223, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2016/0.2016, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2922, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.004542/0.2968, allocations: 3.199 MB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.3009, allocations: 2.198 MB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.3015, allocations: 15.66 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.3034, allocations: 0.9208 MB / 0.5378 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.305, allocations: 0.7687 MB / 0.5386 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3067, allocations: 0.7141 MB / 0.5393 GB, free: 7.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.308, allocations: 1.274 MB / 0.5405 GB, free: 7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.3082, allocations: 150.2 kB / 0.5407 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.3089, allocations: 494 kB / 0.5411 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.3094, allocations: 473 kB / 0.5416 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3095, allocations: 55.84 kB / 0.5416 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.31, allocations: 233.7 kB / 0.5419 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.3102, allocations: 241.5 kB / 0.5421 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.3105, allocations: 413 kB / 0.5425 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009764/0.3115, allocations: 1.037 MB / 0.5435 GB, free: 5.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3115, allocations: 1.719 kB / 0.5435 GB, free: 5.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3115, allocations: 0 / 0.5435 GB, free: 5.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3116, allocations: 0 / 0.5435 GB, free: 5.02 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.001882/0.3134, allocations: 1.469 MB / 0.5449 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3135, allocations: 8.469 kB / 0.545 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.3137, allocations: 104.9 kB / 0.5451 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.3146, allocations: 0.7405 MB / 0.5458 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.3147, allocations: 25.14 kB / 0.5458 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3147, allocations: 29.78 kB / 0.5458 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.3154, allocations: 406.3 kB / 0.5462 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3154, allocations: 0 / 0.5462 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.3155, allocations: 12 kB / 0.5462 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3155, allocations: 15.88 kB / 0.5462 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.3159, allocations: 207.8 kB / 0.5464 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.3175, allocations: 1.545 MB / 0.548 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00097/0.3185, allocations: 0.5089 MB / 0.5484 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.3189, allocations: 198.9 kB / 0.5486 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3189, allocations: 15.92 kB / 0.5487 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.3195, allocations: 379.3 kB / 0.549 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.3195, allocations: 0 / 0.549 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.00141/0.3209, allocations: 0.6774 MB / 0.5497 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/0.3211, allocations: 452.9 kB / 0.5501 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3223, allocations: 1.111 MB / 0.5512 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.3224, allocations: 45.7 kB / 0.5512 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.3227, allocations: 385.3 kB / 0.5516 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.3228, allocations: 130.3 kB / 0.5517 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.323, allocations: 106.2 kB / 0.5518 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.3231, allocations: 330 kB / 0.5521 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.3234, allocations: 149 kB / 0.5523 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.3239, allocations: 373 kB / 0.5526 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.3245, allocations: 413.7 kB / 0.553 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3245, allocations: 0 / 0.553 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009348/0.3255, allocations: 0.539 MB / 0.5536 GB, free: 10.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3255, allocations: 4 kB / 0.5536 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3255, allocations: 4 kB / 0.5536 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3255, allocations: 8.5 kB / 0.5536 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.3259, allocations: 91.83 kB / 0.5537 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.3259, allocations: 11.94 kB / 0.5537 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.3262, allocations: 67.75 kB / 0.5537 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.3263, allocations: 27.98 kB / 0.5538 GB, free: 10.35 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.0003156/0.3266, allocations: 305.5 kB / 0.5541 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3267, allocations: 106.7 kB / 0.5542 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.3269, allocations: 104.3 kB / 0.5543 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3269, allocations: 4 kB / 0.5543 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3269, allocations: 0 / 0.5543 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.3271, allocations: 175.8 kB / 0.5544 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3272, allocations: 20 kB / 0.5545 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.3275, allocations: 39.95 kB / 0.5545 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3276, allocations: 47.89 kB / 0.5545 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00115/0.3288, allocations: 1.117 MB / 0.5556 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00118/0.33, allocations: 1.256 MB / 0.5569 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000467/0.3305, allocations: 272.3 kB / 0.5571 GB, free: 6.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009136/0.3314, allocations: 0.7832 MB / 0.5579 GB, free: 6.062 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.3314, allocations: 0 / 0.5579 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.3339, allocations: 0.7747 MB / 0.5586 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 0.002523/0.3364, allocations: 1.928 MB / 0.5605 GB, free: 3.449 MB / 414.1 MB Notification: Performance of Templates: time 0.0243/0.3607, allocations: 14.94 MB / 0.5751 GB, free: 4.645 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