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.00101/0.00101, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.0009832/0.0009832, allocations: 161 kB / 24.55 MB, free: 20 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.103/1.103, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.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.392e-06/1.392e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.099e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002588/0.002609, allocations: 1.943 MB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004242, allocations: 1.265 MB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.00436, allocations: 3.938 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.004696, allocations: 67.61 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.005023, allocations: 139.3 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.005529, allocations: 223.2 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.005743, allocations: 187.4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.005839, allocations: 21.8 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.005969, allocations: 99.67 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.006066, allocations: 75.78 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.006086, allocations: 8 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.006223, allocations: 71.88 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.006294, allocations: 51.83 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.006346, allocations: 47.78 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006601, allocations: 187.3 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006603, allocations: 4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006604, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006608, allocations: 0 / 277.3 MB, free: 13.14 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.0005855/0.007194, allocations: 0.5711 MB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.007232, allocations: 8.031 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.007296, allocations: 24.8 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.007574, allocations: 231.5 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.007594, allocations: 8.375 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.007612, allocations: 8.375 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.007925, allocations: 186.7 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.007937, allocations: 3.938 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007949, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.007959, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.008012, allocations: 23.91 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.008411, allocations: 370.9 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.008568, allocations: 129.3 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.00862, allocations: 39.06 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.008647, allocations: 0 / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.008774, allocations: 80.97 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.103e-06/0.008775, allocations: 0 / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002547/0.00903, allocations: 125.6 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.009093, allocations: 136.6 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.009324, allocations: 324.3 kB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.009341, allocations: 33.7 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/0.009439, allocations: 178.9 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.009463, allocations: 19.88 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.009502, allocations: 31.38 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.009635, allocations: 0.5079 MB / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.009663, allocations: 11.92 kB / 280.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.009729, allocations: 102.1 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.009793, allocations: 51.33 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009795, allocations: 0 / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.009908, allocations: 89.48 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009922, allocations: 4 kB / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.009927, allocations: 0 / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.009946, allocations: 4 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.01003, allocations: 15.92 kB / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01003, allocations: 0 / 280.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.01007, allocations: 11.94 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.01008, allocations: 8.031 kB / 280.6 MB, free: 9.496 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.0001053/0.01018, allocations: 174.9 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.01024, allocations: 57.56 kB / 280.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.01041, allocations: 107.4 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01041, allocations: 320 / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.01042, allocations: 4 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/0.01042, allocations: 3.984 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.01058, allocations: 200.5 kB / 281.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.01058, allocations: 0 / 281.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.01062, allocations: 16.05 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01063, allocations: 4 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.01063, allocations: 0 / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01064, allocations: 4 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01064, allocations: 0 / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01079, allocations: 167.5 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.01084, allocations: 39.83 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01086, allocations: 0 / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.0109, allocations: 11.94 kB / 281.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.01094, allocations: 7.984 kB / 281.4 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01096, allocations: 12 kB / 281.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.01109, allocations: 225.1 kB / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01109, allocations: 0 / 281.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01126, allocations: 31.92 kB / 281.7 MB, free: 8.363 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.0008672/0.01213, allocations: 406.4 kB / 282.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.01229, allocations: 51.61 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01229, allocations: 0 / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.01234, allocations: 31.61 kB / 282.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.01262, allocations: 68.34 kB / 282.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01305, allocations: 345.5 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.0131, allocations: 79.97 kB / 282.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.01316, allocations: 25.75 kB / 282.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.0132, allocations: 32.48 kB / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01321, allocations: 0 / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Templates: time 0.005138/0.01834, allocations: 3.048 MB / 285.7 MB, free: 4.41 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.145068663172424]