Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.0007331/0.0007331, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001784, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006662/0.0006662, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008679/0.001534, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09487/1.12, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.524e-05, allocations: 5.828 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004339/0.004364, allocations: 1.999 MB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.006637, allocations: 1.196 MB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.00679, allocations: 7.938 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.007238, allocations: 155.3 kB / 248.1 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.007544, allocations: 167.2 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.007926, allocations: 170.1 kB / 248.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.008135, allocations: 191.4 kB / 248.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.008225, allocations: 26.45 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.008392, allocations: 143.4 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.008493, allocations: 71.8 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.008512, allocations: 8 kB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.008633, allocations: 63.83 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.008695, allocations: 39.86 kB / 248.9 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.008733, allocations: 31.88 kB / 249 MB, free: 9.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.008935, allocations: 143.4 kB / 249.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.008946, allocations: 0 / 249.1 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.008947, allocations: 4 kB / 249.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.008956, allocations: 0 / 249.1 MB, free: 9.812 MB / 250.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.0004892/0.009445, allocations: 452.9 kB / 249.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.713e-05/0.009473, allocations: 16.03 kB / 249.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.00951, allocations: 16.92 kB / 249.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.009718, allocations: 209.5 kB / 249.8 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.009733, allocations: 8.375 kB / 249.8 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.009746, allocations: 4.375 kB / 249.8 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.009915, allocations: 131.5 kB / 249.9 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.009924, allocations: 7.938 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.009931, allocations: 0 / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.009936, allocations: 7.938 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.009964, allocations: 10.83 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.01019, allocations: 203.5 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.0103, allocations: 138.5 kB / 250.3 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.01033, allocations: 22.58 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.01035, allocations: 15.94 kB / 250.3 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.341e-05/0.01043, allocations: 62.2 kB / 250.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.01043, allocations: 0 / 250.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001281/0.01056, allocations: 81.55 kB / 250.5 MB, free: 8.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.0106, allocations: 114.8 kB / 250.6 MB, free: 8.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01073, allocations: 226.7 kB / 250.8 MB, free: 7.922 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.01075, allocations: 33.69 kB / 250.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.01079, allocations: 100.6 kB / 250.9 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.0108, allocations: 20.08 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.01083, allocations: 33.69 kB / 251 MB, free: 7.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.0109, allocations: 326.8 kB / 251.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.01092, allocations: 6.828 kB / 251.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.01095, allocations: 56.27 kB / 251.4 MB, free: 7.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.01099, allocations: 47.28 kB / 251.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01099, allocations: 0 / 251.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.264e-05/0.01105, allocations: 68.38 kB / 251.5 MB, free: 7.188 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.01106, allocations: 4 kB / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.01106, allocations: 64 / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.01107, allocations: 4 kB / 251.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.962e-05/0.01112, allocations: 12 kB / 251.5 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.01113, allocations: 4.141 kB / 251.5 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.01116, allocations: 8.312 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.01116, allocations: 0 / 251.5 MB, free: 7.156 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 6.331e-05/0.01122, allocations: 121.5 kB / 251.6 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.01126, allocations: 57.55 kB / 251.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.712e-05/0.01135, allocations: 83.31 kB / 251.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01135, allocations: 4.062 kB / 251.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01135, allocations: 4 kB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01136, allocations: 0 / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.619e-05/0.01144, allocations: 117.7 kB / 251.9 MB, free: 6.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01144, allocations: 0 / 251.9 MB, free: 6.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.01146, allocations: 4 kB / 251.9 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.01149, allocations: 27.83 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.0115, allocations: 0 / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.0115, allocations: 8 kB / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.0115, allocations: 0 / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0115, allocations: 0 / 251.9 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.967e-05/0.01157, allocations: 112.4 kB / 252 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01159, allocations: 15.92 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.01162, allocations: 0 / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.01165, allocations: 7.984 kB / 252.1 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01166, allocations: 4 kB / 252.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.294e-05/0.01172, allocations: 81.61 kB / 252.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01172, allocations: 0 / 252.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.01185, allocations: 31.89 kB / 252.2 MB, free: 6.418 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.001123/0.01297, allocations: 0.5529 MB / 252.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.075e-05/0.01306, allocations: 44.72 kB / 252.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.01307, allocations: 4 kB / 252.8 MB, free: 6.082 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.0131, allocations: 20.84 kB / 252.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.01339, allocations: 356.6 kB / 253.1 MB, free: 5.652 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.01386, allocations: 308.2 kB / 253.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.01391, allocations: 76.17 kB / 253.5 MB, free: 5.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.01395, allocations: 21.7 kB / 253.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.01404, allocations: 83.34 kB / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01404, allocations: 0 / 253.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of Templates: time 0.004518/0.01855, allocations: 2.934 MB / 256.5 MB, free: 2.246 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.560510923154652]