Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002246/0.002246, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002765/0.002765, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.634/1.634, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.051e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.00422/0.004251, allocations: 1.911 MB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.007062, allocations: 1.239 MB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.007281, allocations: 7.938 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.007711, allocations: 71.53 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.008355, allocations: 135.3 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.009332, allocations: 227.2 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.01002, allocations: 187.4 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.01016, allocations: 17.8 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.0104, allocations: 99.72 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.01057, allocations: 75.78 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.0106, allocations: 8 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.01084, allocations: 75.81 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.01096, allocations: 55.84 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.01108, allocations: 43.78 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.01162, allocations: 247.2 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01163, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01163, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.01164, allocations: 3.938 kB / 276.7 MB, free: 13.43 MB / 266.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.001077/0.01271, allocations: 0.5708 MB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.01276, allocations: 12.03 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.01287, allocations: 28.8 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.01337, allocations: 239.5 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.0134, allocations: 4.375 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.01342, allocations: 8.375 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.01388, allocations: 190 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.0139, allocations: 3.938 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.01393, allocations: 4 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.01394, allocations: 4 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01407, allocations: 31.92 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.01476, allocations: 407 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.01507, allocations: 137.2 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.01516, allocations: 51.05 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.01519, allocations: 4 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.01539, allocations: 73.05 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.01539, allocations: 0 / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.00042/0.01581, allocations: 149.8 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.01594, allocations: 132.5 kB / 278.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.01639, allocations: 372.3 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.01642, allocations: 37.69 kB / 279.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.01659, allocations: 190.8 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.01662, allocations: 15.91 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.0167, allocations: 35.36 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.01702, allocations: 0.5196 MB / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.01709, allocations: 12.06 kB / 279.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01723, allocations: 118.1 kB / 280 MB, free: 9.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.01736, allocations: 63.33 kB / 280.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01736, allocations: 0 / 280.1 MB, free: 9.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002134/0.01757, allocations: 101.5 kB / 280.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01759, allocations: 4 kB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01759, allocations: 0 / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.01762, allocations: 7.938 kB / 280.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.01772, allocations: 11.98 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01772, allocations: 0 / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.0178, allocations: 8 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01782, allocations: 7.984 kB / 280.2 MB, free: 9.594 MB / 266.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,table.y) * 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 0.0001687/0.01799, allocations: 184.5 kB / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.0181, allocations: 65.5 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.01842, allocations: 115.4 kB / 280.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.01842, allocations: 0 / 280.5 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.01843, allocations: 4 kB / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01843, allocations: 0 / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.01873, allocations: 224.5 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01873, allocations: 0 / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.01881, allocations: 15.98 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01881, allocations: 4.062 kB / 280.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.01882, allocations: 4 kB / 280.8 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.01883, allocations: 4.062 kB / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01883, allocations: 0 / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.01916, allocations: 187.5 kB / 281 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.01925, allocations: 35.84 kB / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01928, allocations: 0 / 281 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.01935, allocations: 7.984 kB / 281 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.01941, allocations: 11.98 kB / 281 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.01943, allocations: 4 kB / 281 MB, free: 8.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003062/0.01973, allocations: 245.1 kB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01973, allocations: 4 kB / 281.3 MB, free: 8.406 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.02, allocations: 39.88 kB / 281.3 MB, free: 8.367 MB / 266.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,table.y,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.003032/0.02303, allocations: 458.3 kB / 281.8 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.02331, allocations: 67.59 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02331, allocations: 0 / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.02341, allocations: 35.67 kB / 281.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.02393, allocations: 69.94 kB / 281.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.02473, allocations: 353.2 kB / 282.3 MB, free: 7.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.02489, allocations: 131.9 kB / 282.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.02498, allocations: 25.61 kB / 282.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.02504, allocations: 24.5 kB / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02505, allocations: 0 / 282.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of Templates: time 0.008606/0.03365, allocations: 3.043 MB / 285.5 MB, free: 4.344 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.6844017810653895]