Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 47.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2846, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004874/0.2895, allocations: 1.865 MB / 425.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.2923, allocations: 1.087 MB / 426.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.2924, allocations: 7.938 kB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.2929, allocations: 67.66 kB / 426.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.2933, allocations: 95.58 kB / 426.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2943, allocations: 255.1 kB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.2947, allocations: 171.5 kB / 427.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2948, allocations: 21.39 kB / 427.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.295, allocations: 79.62 kB / 427.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.2951, allocations: 79.67 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.2952, allocations: 8 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2954, allocations: 67.95 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2955, allocations: 59.7 kB / 427.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2956, allocations: 55.61 kB / 427.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.2961, allocations: 234.1 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2961, allocations: 3.938 kB / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2961, allocations: 0 / 427.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2961, allocations: 0 / 427.9 MB, free: 10.32 MB / 334.1 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.0009262/0.297, allocations: 474.5 kB / 428.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2971, allocations: 8.031 kB / 428.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.2972, allocations: 24.8 kB / 428.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.2977, allocations: 229.5 kB / 428.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.2977, allocations: 12.38 kB / 428.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2977, allocations: 8.125 kB / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.2982, allocations: 184.3 kB / 428.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2982, allocations: 0 / 428.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2982, allocations: 0 / 428.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.2982, allocations: 4 kB / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2984, allocations: 43.91 kB / 428.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.299, allocations: 314 kB / 429.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.2994, allocations: 123.9 kB / 429.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2995, allocations: 42.56 kB / 429.4 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.2995, allocations: 4 kB / 429.4 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.2998, allocations: 79.31 kB / 429.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.2998, allocations: 0 / 429.5 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005535/0.3003, allocations: 165.7 kB / 429.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3004, allocations: 132.5 kB / 429.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.3009, allocations: 329.8 kB / 430.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.301, allocations: 33.64 kB / 430.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3011, allocations: 128.2 kB / 430.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3011, allocations: 15.89 kB / 430.2 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.3012, allocations: 33.66 kB / 430.3 MB, free: 7.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3014, allocations: 334.8 kB / 430.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3015, allocations: 23.98 kB / 430.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3017, allocations: 137.3 kB / 430.8 MB, free: 7.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3019, allocations: 92.28 kB / 430.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3019, allocations: 0 / 430.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003717/0.3023, allocations: 125.4 kB / 431 MB, free: 6.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3023, allocations: 4 kB / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3023, allocations: 0 / 431 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.3024, allocations: 8.125 kB / 431 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.3025, allocations: 15.98 kB / 431 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3025, allocations: 4 kB / 431 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.3026, allocations: 11.95 kB / 431 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3026, allocations: 4 kB / 431 MB, free: 6.938 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000204/0.3029, allocations: 161.6 kB / 431.2 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.303, allocations: 69.5 kB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.3033, allocations: 119.4 kB / 431.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3033, allocations: 4.062 kB / 431.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3033, allocations: 0 / 431.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3034, allocations: 4 kB / 431.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3035, allocations: 177.2 kB / 431.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3036, allocations: 4.312 kB / 431.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.3036, allocations: 8 kB / 431.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3037, allocations: 8 kB / 431.6 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3037, allocations: 3.984 kB / 431.6 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3037, allocations: 3.938 kB / 431.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3037, allocations: 4 kB / 431.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3041, allocations: 182.5 kB / 431.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3042, allocations: 35.84 kB / 431.8 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.3042, allocations: 4 kB / 431.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3043, allocations: 7.984 kB / 431.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.3044, allocations: 7.984 kB / 431.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.3044, allocations: 4 kB / 431.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000359/0.3048, allocations: 241.2 kB / 432 MB, free: 5.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3048, allocations: 0 / 432 MB, free: 5.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.3052, allocations: 39.92 kB / 432.1 MB, free: 5.789 MB / 334.1 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.001834/0.3071, allocations: 463.9 kB / 432.5 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3073, allocations: 79.77 kB / 432.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3073, allocations: 0 / 432.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.3074, allocations: 35.97 kB / 432.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3078, allocations: 56.48 kB / 432.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.3085, allocations: 398.9 kB / 433.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.3087, allocations: 131.9 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.3087, allocations: 23.44 kB / 433.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3087, allocations: 0 / 433.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of Templates: time 0.005669/0.3144, allocations: 2.964 MB / 436.2 MB, free: 1.797 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.277252798434347]