Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002328, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006412/0.0006412, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001572, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9474/0.9474, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/1.192, allocations: 52.49 MB / 238.5 MB, free: 7.598 MB / 234.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 239.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.253e-05, allocations: 2.312 kB / 239.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003501/0.003534, allocations: 1.966 MB / 241.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.005147, allocations: 1.061 MB / 242.8 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.005271, allocations: 8.562 kB / 242.8 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.005753, allocations: 152.5 kB / 242.9 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.006004, allocations: 129.1 kB / 243.1 MB, free: 3.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.006491, allocations: 204.4 kB / 243.3 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.00676, allocations: 179.5 kB / 243.4 MB, free: 2.652 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.006869, allocations: 19.38 kB / 243.4 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.007052, allocations: 139.6 kB / 243.6 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.007175, allocations: 64.8 kB / 243.6 MB, free: 2.434 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.007198, allocations: 8 kB / 243.7 MB, free: 2.426 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.007347, allocations: 59.89 kB / 243.7 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.007422, allocations: 36.61 kB / 243.7 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.007469, allocations: 35.81 kB / 243.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.00771, allocations: 136.2 kB / 243.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.471e-05/0.007725, allocations: 0 / 243.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007726, allocations: 0.6875 kB / 243.9 MB, free: 2.164 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.00774, allocations: 4 kB / 243.9 MB, free: 2.16 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006218/0.008361, allocations: 445.7 kB / 244.4 MB, free: 1.695 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.008399, allocations: 10.53 kB / 244.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.008447, allocations: 16.92 kB / 244.4 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.008714, allocations: 209.6 kB / 244.6 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.008735, allocations: 4.375 kB / 244.6 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.008753, allocations: 8.312 kB / 244.6 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.008959, allocations: 122.7 kB / 244.7 MB, free: 1.285 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.008975, allocations: 4.75 kB / 244.7 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.008987, allocations: 8 kB / 244.7 MB, free: 1.273 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.008994, allocations: 5.094 kB / 244.7 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.009028, allocations: 14.81 kB / 244.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.009328, allocations: 210.6 kB / 245 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.009454, allocations: 126.6 kB / 245.1 MB, free: 0.875 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.009486, allocations: 30.56 kB / 245.1 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.00951, allocations: 11.92 kB / 245.1 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.009631, allocations: 66.16 kB / 245.2 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.009633, allocations: 1.312 kB / 245.2 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001619/0.009794, allocations: 77.59 kB / 245.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.009852, allocations: 111.8 kB / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01, allocations: 222.7 kB / 245.6 MB, free: 308 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01002, allocations: 30.67 kB / 245.6 MB, free: 272 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.01007, allocations: 104.1 kB / 245.7 MB, free: 164 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.01009, allocations: 19.88 kB / 245.7 MB, free: 144 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.01012, allocations: 18.62 kB / 245.8 MB, free: 120 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01023, allocations: 334.8 kB / 246.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.01025, allocations: 12.55 kB / 246.1 MB, free: 15.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/0.01028, allocations: 56.27 kB / 246.2 MB, free: 15.7 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.01032, allocations: 35.34 kB / 246.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01033, allocations: 0.6562 kB / 246.2 MB, free: 15.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.684e-05/0.0104, allocations: 65.08 kB / 246.3 MB, free: 15.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01042, allocations: 11.98 kB / 246.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01042, allocations: 1.969 kB / 246.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01044, allocations: 0 / 246.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.0105, allocations: 12 kB / 246.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01051, allocations: 4 kB / 246.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.01054, allocations: 16.14 kB / 246.3 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.01055, allocations: 4.484 kB / 246.3 MB, free: 15.54 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.721e-05/0.01063, allocations: 125.5 kB / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.01067, allocations: 51.22 kB / 246.5 MB, free: 15.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.01077, allocations: 79.36 kB / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01077, allocations: 4 kB / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01077, allocations: 0 / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01078, allocations: 0 / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.01088, allocations: 102.2 kB / 246.7 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01088, allocations: 4 kB / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.0109, allocations: 8 kB / 246.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.01094, allocations: 27.81 kB / 246.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01094, allocations: 0 / 246.7 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01095, allocations: 8 kB / 246.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.01096, allocations: 3.984 kB / 246.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01096, allocations: 0 / 246.7 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.084e-05/0.01105, allocations: 100.4 kB / 246.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01107, allocations: 11.94 kB / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.01111, allocations: 0 / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.01114, allocations: 11.98 kB / 246.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01115, allocations: 4 kB / 246.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.01122, allocations: 81.61 kB / 246.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01122, allocations: 0 / 246.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.01136, allocations: 31.88 kB / 246.9 MB, free: 14.84 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.01262, allocations: 0.5678 MB / 247.5 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01273, allocations: 44.78 kB / 247.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01274, allocations: 4 kB / 247.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.01278, allocations: 28.81 kB / 247.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01312, allocations: 362.7 kB / 247.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.01368, allocations: 292.4 kB / 248.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.01373, allocations: 75.83 kB / 248.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.01379, allocations: 17.83 kB / 248.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.01388, allocations: 83.34 kB / 248.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01388, allocations: 0 / 248.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of Templates: time 0.005226/0.01911, allocations: 2.898 MB / 251.3 MB, free: 10.69 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7432005992159247]