Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001098, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1958/0.1958, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2923, allocations: 60.82 MB / 0.5196 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.003564/0.2959, allocations: 3.115 MB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.2987, allocations: 2.084 MB / 0.5246 GB, free: 204 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002141/0.2989, allocations: 15.12 kB / 0.5247 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.3006, allocations: 0.9283 MB / 0.5256 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3018, allocations: 0.6763 MB / 0.5262 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3038, allocations: 0.9789 MB / 0.5272 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.3049, allocations: 1.186 MB / 0.5283 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.3052, allocations: 152.2 kB / 0.5285 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.3056, allocations: 479.5 kB / 0.5289 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.3061, allocations: 452.6 kB / 0.5294 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.616e-05/0.3062, allocations: 53.09 kB / 0.5294 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.3066, allocations: 234.1 kB / 0.5296 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.3068, allocations: 236.7 kB / 0.5299 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.3072, allocations: 394 kB / 0.5302 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.3081, allocations: 0.9954 MB / 0.5312 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3081, allocations: 0 / 0.5312 GB, free: 12.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3081, allocations: 0 / 0.5312 GB, free: 12.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3081, allocations: 1.438 kB / 0.5312 GB, free: 12.31 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.001852/0.31, allocations: 1.414 MB / 0.5326 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.31, allocations: 9.188 kB / 0.5326 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.3102, allocations: 93.38 kB / 0.5327 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009717/0.3112, allocations: 0.7065 MB / 0.5334 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.3112, allocations: 25.02 kB / 0.5334 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.3113, allocations: 26.47 kB / 0.5334 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.312, allocations: 420.6 kB / 0.5338 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.312, allocations: 3.938 kB / 0.5338 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.312, allocations: 8.312 kB / 0.5338 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.312, allocations: 6.875 kB / 0.5339 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.3125, allocations: 195.8 kB / 0.534 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.3141, allocations: 1.526 MB / 0.5355 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3152, allocations: 0.5119 MB / 0.536 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.3156, allocations: 198.8 kB / 0.5362 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.3156, allocations: 10.69 kB / 0.5362 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006322/0.3163, allocations: 377.8 kB / 0.5366 GB, free: 7.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.3163, allocations: 0 / 0.5366 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.001551/0.3178, allocations: 0.6805 MB / 0.5373 GB, free: 7.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.318, allocations: 451.9 kB / 0.5377 GB, free: 6.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.3193, allocations: 1.024 MB / 0.5387 GB, free: 6.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.3194, allocations: 41.58 kB / 0.5387 GB, free: 6.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.3197, allocations: 376.8 kB / 0.5391 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3198, allocations: 135 kB / 0.5392 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.32, allocations: 105 kB / 0.5393 GB, free: 5.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.3201, allocations: 322.2 kB / 0.5396 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3204, allocations: 144 kB / 0.5398 GB, free: 5.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.3209, allocations: 388.5 kB / 0.5401 GB, free: 5.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007221/0.3217, allocations: 413.9 kB / 0.5405 GB, free: 4.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3217, allocations: 1.406 kB / 0.5405 GB, free: 4.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001059/0.3228, allocations: 0.5263 MB / 0.541 GB, free: 4.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3228, allocations: 6.906 kB / 0.541 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3228, allocations: 3.5 kB / 0.5411 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.3228, allocations: 10.88 kB / 0.5411 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.3232, allocations: 103.1 kB / 0.5412 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3232, allocations: 9.625 kB / 0.5412 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.3236, allocations: 66.5 kB / 0.5412 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.3236, allocations: 21.28 kB / 0.5413 GB, free: 4.438 MB / 398.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.0003292/0.324, allocations: 290 kB / 0.5415 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.3241, allocations: 108.9 kB / 0.5416 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3243, allocations: 98.27 kB / 0.5417 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3243, allocations: 6.391 kB / 0.5417 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3243, allocations: 1.469 kB / 0.5417 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3245, allocations: 165.5 kB / 0.5419 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.3246, allocations: 20.56 kB / 0.5419 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.3249, allocations: 35.83 kB / 0.5419 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3251, allocations: 51.8 kB / 0.542 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001275/0.3263, allocations: 1.12 MB / 0.5431 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00127/0.3276, allocations: 1.251 MB / 0.5443 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004838/0.3281, allocations: 268.1 kB / 0.5446 GB, free: 1.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008809/0.329, allocations: 0.7225 MB / 0.5453 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.329, allocations: 0 / 0.5453 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.3316, allocations: 0.7679 MB / 0.546 GB, free: 432 kB / 398.1 MB Notification: Performance of SimCode: time 0.00254/0.3341, allocations: 1.868 MB / 0.5478 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Templates: time 0.0229/0.357, allocations: 14.44 MB / 0.5619 GB, free: 260 kB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.BooleanTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches