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.0007508/0.0007508, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001864, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007325/0.0007325, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009431/0.001676, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9636/0.9636, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08946/1.053, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.333e-06/1.333e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.364e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002189/0.002203, allocations: 1.995 MB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.003911, allocations: 1.2 MB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004012, allocations: 7.938 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.004379, allocations: 143.5 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.004609, allocations: 167.2 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.004895, allocations: 178 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.005078, allocations: 183.5 kB / 248.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.005164, allocations: 18.45 kB / 248.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.005322, allocations: 151.4 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.005415, allocations: 67.8 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.005434, allocations: 8 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.005542, allocations: 59.89 kB / 248.7 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.005594, allocations: 39.86 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.00563, allocations: 31.88 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.005825, allocations: 147.4 kB / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.00584, allocations: 4 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005841, allocations: 0 / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.005856, allocations: 0 / 248.9 MB, free: 9.914 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.0005168/0.006373, allocations: 456.9 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.006403, allocations: 16.03 kB / 249.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.006439, allocations: 16.91 kB / 249.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.006656, allocations: 205.6 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.006672, allocations: 4.375 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.006683, allocations: 8.375 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.006859, allocations: 125.2 kB / 249.7 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006869, allocations: 11.88 kB / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.006876, allocations: 0 / 249.7 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006883, allocations: 4 kB / 249.7 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.00692, allocations: 14.81 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.00718, allocations: 207.5 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.007297, allocations: 130.6 kB / 250.1 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.007326, allocations: 30.56 kB / 250.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.007346, allocations: 7.938 kB / 250.1 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.531e-05/0.007441, allocations: 66.22 kB / 250.2 MB, free: 8.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.007442, allocations: 0 / 250.2 MB, free: 8.484 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001291/0.007571, allocations: 85.53 kB / 250.3 MB, free: 8.395 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.007621, allocations: 106.8 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.007755, allocations: 234.7 kB / 250.6 MB, free: 8.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.007768, allocations: 25.7 kB / 250.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.007805, allocations: 100.6 kB / 250.7 MB, free: 7.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.007826, allocations: 28.08 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.007856, allocations: 29.69 kB / 250.8 MB, free: 7.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.007928, allocations: 330.7 kB / 251.1 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.007942, allocations: 10.81 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.007972, allocations: 56.22 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.008007, allocations: 39.34 kB / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008009, allocations: 0 / 251.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.943e-05/0.008068, allocations: 72.38 kB / 251.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.008078, allocations: 7.438 kB / 251.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008082, allocations: 4.062 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.008089, allocations: 0 / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.008146, allocations: 15.98 kB / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.008148, allocations: 160 / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.008176, allocations: 4 kB / 251.3 MB, free: 7.258 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.008179, allocations: 0 / 251.3 MB, free: 7.258 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.145e-05/0.008241, allocations: 127.1 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.008276, allocations: 49.88 kB / 251.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.195e-05/0.008368, allocations: 79.38 kB / 251.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.00837, allocations: 4.062 kB / 251.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.008374, allocations: 8 kB / 251.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.008378, allocations: 3.984 kB / 251.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.417e-05/0.008462, allocations: 113.7 kB / 251.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008463, allocations: 0 / 251.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.008481, allocations: 4 kB / 251.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.008519, allocations: 31.83 kB / 251.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.008521, allocations: 0 / 251.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.008527, allocations: 4 kB / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008528, allocations: 0 / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.00853, allocations: 3.984 kB / 251.7 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.149e-05/0.008601, allocations: 112.4 kB / 251.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.008621, allocations: 7.938 kB / 251.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.91e-05/0.00865, allocations: 0 / 251.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.008676, allocations: 11.98 kB / 251.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.008684, allocations: 4 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.008745, allocations: 81.61 kB / 251.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008745, allocations: 0 / 251.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001266/0.008871, allocations: 35.88 kB / 252 MB, free: 6.523 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.001181/0.01005, allocations: 0.5587 MB / 252.5 MB, free: 6.234 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.01014, allocations: 36.78 kB / 252.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.01014, allocations: 0 / 252.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.01017, allocations: 24.78 kB / 252.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.01035, allocations: 68.7 kB / 252.6 MB, free: 6.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.01079, allocations: 296.3 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.972e-05/0.01083, allocations: 88.02 kB / 253 MB, free: 5.668 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.999e-05/0.01087, allocations: 25.75 kB / 253 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.01095, allocations: 79.3 kB / 253.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01095, allocations: 0 / 253.1 MB, free: 5.566 MB / 250.7 MB Notification: Performance of Templates: time 0.004472/0.01542, allocations: 2.912 MB / 256 MB, free: 2.707 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5345482053235173]