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.001829/0.001829, allocations: 96.62 kB / 20.96 MB, free: 3.594 MB / 18.57 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.002045/0.002045, allocations: 149.3 kB / 24.25 MB, free: 308 kB / 18.57 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.44/1.44, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.813e-06/1.813e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.04e-05, allocations: 6.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.00383/0.003861, allocations: 1.851 MB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.00617, allocations: 1.09 MB / 270.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.006296, allocations: 7.938 kB / 270.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.006653, allocations: 59.67 kB / 270.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.006987, allocations: 99.45 kB / 270.4 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.007818, allocations: 263 kB / 270.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.008105, allocations: 171.5 kB / 270.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.008222, allocations: 21.8 kB / 270.9 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.008416, allocations: 95.73 kB / 271 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.008559, allocations: 67.8 kB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.00859, allocations: 8 kB / 271 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.00878, allocations: 75.81 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.008896, allocations: 51.83 kB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.008991, allocations: 47.84 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.009446, allocations: 239.1 kB / 271.4 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.00945, allocations: 0 / 271.4 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.009452, allocations: 0 / 271.4 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009457, allocations: 0 / 271.4 MB, free: 2.566 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.0008594/0.01032, allocations: 466.6 kB / 271.9 MB, free: 2.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.01036, allocations: 12.03 kB / 271.9 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.01044, allocations: 24.8 kB / 271.9 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.01118, allocations: 248.7 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.0112, allocations: 4.375 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.01122, allocations: 8.375 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.01163, allocations: 177 kB / 272.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01164, allocations: 3.938 kB / 272.4 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.01166, allocations: 3.938 kB / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.01167, allocations: 4 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.01181, allocations: 39.91 kB / 272.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.01238, allocations: 314.2 kB / 272.7 MB, free: 1.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.01268, allocations: 119.8 kB / 272.8 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.0128, allocations: 46.5 kB / 272.9 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.01283, allocations: 4 kB / 272.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.01302, allocations: 75.38 kB / 273 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.01302, allocations: 4 kB / 273 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004886/0.01351, allocations: 165.5 kB / 273.1 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.01363, allocations: 136.5 kB / 273.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.01408, allocations: 325.9 kB / 273.6 MB, free: 212 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.01411, allocations: 25.7 kB / 273.6 MB, free: 180 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01425, allocations: 124.1 kB / 273.7 MB, free: 52 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.01429, allocations: 19.91 kB / 273.7 MB, free: 32 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.01437, allocations: 33.66 kB / 273.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.01457, allocations: 330.8 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.01466, allocations: 23.98 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01481, allocations: 111 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.01498, allocations: 73.84 kB / 274.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01499, allocations: 0 / 274.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000271/0.01526, allocations: 113.5 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01527, allocations: 4 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01528, allocations: 4 kB / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.0153, allocations: 0 / 274.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.0154, allocations: 8 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.01541, allocations: 7.984 kB / 274.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.01549, allocations: 7.984 kB / 274.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.0155, allocations: 4 kB / 274.4 MB, free: 15.27 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.0001708/0.01567, allocations: 149.8 kB / 274.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.01578, allocations: 73.48 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.01611, allocations: 123.4 kB / 274.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.01612, allocations: 7.938 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01612, allocations: 0 / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01613, allocations: 0 / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.01636, allocations: 177.2 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01636, allocations: 4.062 kB / 275 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.01643, allocations: 12 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01643, allocations: 0 / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01645, allocations: 8 kB / 275 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01645, allocations: 3.984 kB / 275 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01646, allocations: 0 / 275 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.0168, allocations: 178.5 kB / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.0169, allocations: 39.78 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.01694, allocations: 7.984 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.01701, allocations: 4.047 kB / 275.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.01707, allocations: 19.98 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01709, allocations: 4 kB / 275.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002839/0.01737, allocations: 241.2 kB / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01737, allocations: 0 / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01764, allocations: 35.94 kB / 275.5 MB, free: 14.13 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.002063/0.01971, allocations: 452.2 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01996, allocations: 67.89 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.01996, allocations: 8.062 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.02006, allocations: 27.98 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.0205, allocations: 68.39 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.02124, allocations: 382 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.0214, allocations: 131.9 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.092e-05/0.02149, allocations: 33.8 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.02155, allocations: 20.5 kB / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02155, allocations: 0 / 276.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Templates: time 0.007894/0.02944, allocations: 2.995 MB / 279.7 MB, free: 10.14 MB / 266.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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: 4.397654948988929]