Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.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.001802/0.001802, allocations: 110.8 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.002136/0.002136, allocations: 209.3 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.223/0.223, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2796, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.004875/0.2845, allocations: 2.712 MB / 0.5645 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.2876, allocations: 1.574 MB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2878, allocations: 8 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.2888, allocations: 346.7 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.2894, allocations: 302.7 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.2903, allocations: 386.9 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.291, allocations: 0.6754 MB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.2913, allocations: 175.5 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.2917, allocations: 294.9 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.2921, allocations: 338.5 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.414e-05/0.2922, allocations: 52 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.2924, allocations: 135.9 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2926, allocations: 171.4 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.2928, allocations: 230.7 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.2936, allocations: 0.6946 MB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2936, allocations: 3.938 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2936, allocations: 0 / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2937, allocations: 0 / 0.5697 GB, free: 12.09 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002029/0.2957, allocations: 0.9813 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2957, allocations: 8.031 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.296, allocations: 84.45 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.2966, allocations: 380.2 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.2966, allocations: 37.38 kB / 0.5711 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.2967, allocations: 52.11 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.2977, allocations: 0.4984 MB / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2977, allocations: 0 / 0.5717 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.2978, allocations: 16 kB / 0.5717 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.2978, allocations: 12 kB / 0.5717 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.2986, allocations: 339.7 kB / 0.572 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.3006, allocations: 0.9826 MB / 0.573 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.3019, allocations: 474.5 kB / 0.5734 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.3023, allocations: 170.9 kB / 0.5736 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3024, allocations: 4.438 kB / 0.5736 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/0.3031, allocations: 374.7 kB / 0.574 GB, free: 7.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=55): time 2.274e-06/0.3031, allocations: 4 kB / 0.574 GB, free: 7.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.001683/0.3048, allocations: 0.6509 MB / 0.5746 GB, free: 6.875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.3049, allocations: 115.2 kB / 0.5747 GB, free: 6.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006957/0.3056, allocations: 0.5524 MB / 0.5752 GB, free: 6.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.3057, allocations: 49.69 kB / 0.5753 GB, free: 6.125 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3059, allocations: 261.7 kB / 0.5755 GB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.306, allocations: 134.9 kB / 0.5757 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.3062, allocations: 126.3 kB / 0.5758 GB, free: 5.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3064, allocations: 370.7 kB / 0.5761 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.3069, allocations: 173.2 kB / 0.5763 GB, free: 5.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3075, allocations: 343.1 kB / 0.5766 GB, free: 4.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.3082, allocations: 332.4 kB / 0.577 GB, free: 4.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3082, allocations: 0 / 0.577 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001168/0.3094, allocations: 0.5047 MB / 0.5774 GB, free: 3.832 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3094, allocations: 7.938 kB / 0.5775 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3094, allocations: 0 / 0.5775 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3095, allocations: 4 kB / 0.5775 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.3098, allocations: 67.83 kB / 0.5775 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3098, allocations: 4 kB / 0.5775 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.3102, allocations: 95.69 kB / 0.5776 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.3103, allocations: 20 kB / 0.5776 GB, free: 3.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.table2.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition2,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,timer.entryTime,$PRE.timer.entryTime,timer.u,triggeredTrapezoid.T,triggeredTrapezoid.rate,triggeredTrapezoid.endValue,onOffController.y,$PRE.onOffController.y,hysteresis.y,$PRE.hysteresis.y,logicalSwitch.y,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,lessEqual.y,less.y,greaterEqual.y,greater.y,lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,change1.y,change1.u,$PRE.change1.u,fallingEdge.not_u,$PRE.fallingEdge.not_u,fallingEdge.y,edge1.y,edge1.u,$PRE.edge1.u,pre1.y,pre1.u,$PRE.pre1.u,nand.y,nor.y,xor.y,and1.y,table2.combiTimeTable.nextTimeEventScaled,$PRE.table2.combiTimeTable.nextTimeEventScaled,table2.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$whenCondition4,$whenCondition5,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0003162/0.3106, allocations: 231.2 kB / 0.5779 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3107, allocations: 63.56 kB / 0.5779 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.3119, allocations: 0.5134 MB / 0.5784 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.3119, allocations: 3.984 kB / 0.5784 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3119, allocations: 0 / 0.5784 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.312, allocations: 55.5 kB / 0.5785 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.3121, allocations: 23.98 kB / 0.5785 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.3125, allocations: 55.92 kB / 0.5786 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3127, allocations: 76.33 kB / 0.5786 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001536/0.3143, allocations: 0.7057 MB / 0.5793 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001346/0.3156, allocations: 0.7619 MB / 0.5801 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005244/0.3161, allocations: 223.3 kB / 0.5803 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.3167, allocations: 379.1 kB / 0.5806 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.3167, allocations: 0 / 0.5806 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.3197, allocations: 0.7285 MB / 0.5813 GB, free: 15.98 MB / 430.1 MB Notification: Performance of SimCode: time 0.001933/0.3216, allocations: 1.346 MB / 0.5827 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01705/0.3386, allocations: 9.362 MB / 0.5918 GB, free: 5.328 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Logical/Logical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.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: 4.9617089749954175]