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.001157/0.001157, 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.00188/0.00188, allocations: 161 kB / 24.56 MB, free: 16 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.641 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.904e-06/1.904e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.995e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003753/0.003783, allocations: 1.95 MB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.005776, allocations: 1.25 MB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005908, allocations: 7.938 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.006259, allocations: 67.66 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.006666, allocations: 143.3 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.007268, allocations: 223.1 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.007533, allocations: 187.4 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.00764, allocations: 13.81 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.007794, allocations: 103.8 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.007917, allocations: 79.77 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.007942, allocations: 11.94 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.00811, allocations: 63.89 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.008195, allocations: 55.78 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.008257, allocations: 39.84 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.008566, allocations: 199.2 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008569, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00857, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.008574, allocations: 0 / 277.3 MB, free: 13.17 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.0006951/0.009269, allocations: 0.5672 MB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.009311, allocations: 12.03 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.009385, allocations: 24.8 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.009687, allocations: 231.5 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.00971, allocations: 4.375 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.009727, allocations: 8.375 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.01004, allocations: 153.3 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.01005, allocations: 3.938 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.01007, allocations: 4 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01008, allocations: 0 / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.01015, allocations: 27.91 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.01088, allocations: 371 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.01106, allocations: 125.2 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01112, allocations: 47.05 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.01114, allocations: 0 / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.01126, allocations: 73.05 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.01126, allocations: 0 / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002961/0.01156, allocations: 129.4 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.01162, allocations: 106.8 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01192, allocations: 328.3 kB / 279.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01193, allocations: 25.95 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.01205, allocations: 190.8 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.01208, allocations: 11.91 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.01214, allocations: 35.36 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01229, allocations: 0.504 MB / 280.3 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.01232, allocations: 8 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.01238, allocations: 68.69 kB / 280.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.01246, allocations: 43.31 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01246, allocations: 0 / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001494/0.01261, allocations: 101.5 kB / 280.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01262, allocations: 4 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01263, allocations: 0 / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01264, allocations: 0 / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.01273, allocations: 12 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01273, allocations: 0 / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.01278, allocations: 15.86 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01279, allocations: 0 / 280.5 MB, free: 9.664 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 9.667e-05/0.01289, allocations: 167 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.01297, allocations: 73.48 kB / 280.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.01316, allocations: 107.5 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01316, allocations: 4 kB / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01317, allocations: 320 / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01317, allocations: 0 / 280.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01335, allocations: 196.5 kB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01335, allocations: 0 / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.01341, allocations: 15.98 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01341, allocations: 3.984 kB / 281.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01342, allocations: 8 kB / 281.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01343, allocations: 0 / 281.1 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01343, allocations: 4 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01362, allocations: 171.5 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.01368, allocations: 31.84 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.01371, allocations: 4 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.01376, allocations: 7.984 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.01381, allocations: 11.98 kB / 281.3 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.01382, allocations: 4 kB / 281.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.01401, allocations: 225.1 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01401, allocations: 0 / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.0143, allocations: 35.88 kB / 281.6 MB, free: 8.527 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.001107/0.01541, allocations: 400.3 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.01556, allocations: 55.59 kB / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01556, allocations: 0 / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.01562, allocations: 27.69 kB / 282.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.01598, allocations: 73.77 kB / 282.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.01648, allocations: 341.1 kB / 282.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.041e-05/0.01654, allocations: 83.97 kB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.599e-05/0.01661, allocations: 25.84 kB / 282.6 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01666, allocations: 20.5 kB / 282.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01666, allocations: 0 / 282.6 MB, free: 7.594 MB / 266.7 MB Notification: Performance of Templates: time 0.006968/0.02363, allocations: 3.178 MB / 285.8 MB, free: 4.461 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: 2.8375476212240756]