Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2143/0.2143, allocations: 46.88 MB / 361.1 MB, free: 4.668 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.Blocks.Logical") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 79.88 kB / 0.4968 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2862, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.004698/0.2909, allocations: 2.904 MB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.2938, allocations: 1.658 MB / 0.5657 GB, free: 464 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.294, allocations: 8 kB / 0.5657 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.295, allocations: 350.6 kB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007442/0.2957, allocations: 290.7 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008546/0.2966, allocations: 370.9 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.2973, allocations: 0.6792 MB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.2977, allocations: 175 kB / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.2981, allocations: 294.8 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.2985, allocations: 334.5 kB / 0.5681 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.32e-05/0.2985, allocations: 52 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.2988, allocations: 131.9 kB / 0.5682 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.299, allocations: 167.4 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.2992, allocations: 286.3 kB / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.3001, allocations: 0.6949 MB / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3001, allocations: 0 / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3001, allocations: 0 / 0.5694 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3001, allocations: 0 / 0.5694 GB, free: 12.66 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.002075/0.3022, allocations: 1.053 MB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3022, allocations: 8.922 kB / 0.5704 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.3024, allocations: 84.45 kB / 0.5705 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.3031, allocations: 447.1 kB / 0.5709 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.3031, allocations: 33.38 kB / 0.5709 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.3032, allocations: 48.36 kB / 0.571 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009477/0.3041, allocations: 476.9 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3042, allocations: 3.984 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.3042, allocations: 16 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3042, allocations: 12 kB / 0.5715 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.305, allocations: 327.8 kB / 0.5718 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.3071, allocations: 1.196 MB / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3085, allocations: 466.6 kB / 0.5734 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3089, allocations: 170.9 kB / 0.5735 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.3089, allocations: 4.438 kB / 0.5736 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/0.3097, allocations: 345.8 kB / 0.5739 GB, free: 7.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=55): time 2.204e-06/0.3097, allocations: 0 / 0.5739 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.001666/0.3113, allocations: 0.6431 MB / 0.5745 GB, free: 7.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3114, allocations: 166.6 kB / 0.5747 GB, free: 6.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/0.3122, allocations: 0.5524 MB / 0.5752 GB, free: 6.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.3122, allocations: 49.64 kB / 0.5753 GB, free: 6.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.3125, allocations: 265.6 kB / 0.5755 GB, free: 6.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.3126, allocations: 135 kB / 0.5756 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3128, allocations: 118.3 kB / 0.5758 GB, free: 5.828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.313, allocations: 374.8 kB / 0.5761 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.3135, allocations: 169.2 kB / 0.5763 GB, free: 5.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.314, allocations: 279.5 kB / 0.5765 GB, free: 4.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.3148, allocations: 327.1 kB / 0.5768 GB, free: 4.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3148, allocations: 0 / 0.5768 GB, free: 4.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001125/0.3159, allocations: 0.4946 MB / 0.5773 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3159, allocations: 8 kB / 0.5773 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.316, allocations: 3.938 kB / 0.5773 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.316, allocations: 4 kB / 0.5773 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3163, allocations: 71.83 kB / 0.5774 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.3163, allocations: 12.08 kB / 0.5774 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3167, allocations: 83.67 kB / 0.5775 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.3168, allocations: 20 kB / 0.5775 GB, free: 3.941 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.0003193/0.3171, allocations: 226.9 kB / 0.5777 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3172, allocations: 55.62 kB / 0.5778 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.3184, allocations: 0.5055 MB / 0.5783 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3184, allocations: 3.984 kB / 0.5783 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3184, allocations: 0 / 0.5783 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3186, allocations: 136.7 kB / 0.5784 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.3187, allocations: 15.98 kB / 0.5784 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.3191, allocations: 55.94 kB / 0.5785 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3192, allocations: 72.34 kB / 0.5786 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001493/0.3207, allocations: 0.6824 MB / 0.5792 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001286/0.322, allocations: 0.7477 MB / 0.58 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005149/0.3225, allocations: 215.4 kB / 0.5802 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.323, allocations: 387.1 kB / 0.5805 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.323, allocations: 0 / 0.5805 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.3257, allocations: 0.6839 MB / 0.5812 GB, free: 264 kB / 414.1 MB Notification: Performance of SimCode: time 0.001882/0.3276, allocations: 1.329 MB / 0.5825 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Templates: time 0.01626/0.3439, allocations: 8.579 MB / 0.5909 GB, free: 6.336 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Logical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Logical/Logical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.88610527291894]