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.001112/0.001112, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001695/0.002807, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006447/0.0006447, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.001755, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8858/0.8858, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1712/1.057, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] 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.854e-06/1.854e-06, allocations: 0 / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.054e-05, allocations: 2.312 kB / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.00355/0.003581, allocations: 1.957 MB / 241.7 MB, free: 4.406 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.005728, allocations: 1.141 MB / 242.8 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.00588, allocations: 7.938 kB / 242.8 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.006171, allocations: 65.08 kB / 242.9 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.006444, allocations: 95.47 kB / 243 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.00724, allocations: 260.7 kB / 243.3 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.007531, allocations: 173.2 kB / 243.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.007647, allocations: 22.39 kB / 243.4 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.007885, allocations: 127.6 kB / 243.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.008025, allocations: 63.81 kB / 243.6 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.008054, allocations: 9.188 kB / 243.6 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.00826, allocations: 71.81 kB / 243.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.008353, allocations: 51.8 kB / 243.8 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.008413, allocations: 32.84 kB / 243.8 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.008732, allocations: 175.3 kB / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.008745, allocations: 0 / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008746, allocations: 1 kB / 244 MB, free: 2.129 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.00876, allocations: 0 / 244 MB, free: 2.129 MB / 234.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.0007609/0.009521, allocations: 465.6 kB / 244.4 MB, free: 1.645 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.009565, allocations: 8.031 kB / 244.4 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.009639, allocations: 25.55 kB / 244.4 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.009976, allocations: 210.1 kB / 244.7 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.009999, allocations: 8.375 kB / 244.7 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.01002, allocations: 6.875 kB / 244.7 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.0103, allocations: 141.9 kB / 244.8 MB, free: 1.207 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01031, allocations: 3.938 kB / 244.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.01032, allocations: 3.984 kB / 244.8 MB, free: 1.199 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01033, allocations: 5.438 kB / 244.8 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.01039, allocations: 22.75 kB / 244.8 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.01076, allocations: 199.6 kB / 245 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.01092, allocations: 135.2 kB / 245.2 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.01097, allocations: 30.62 kB / 245.2 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.01099, allocations: 15 kB / 245.2 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.01112, allocations: 66.17 kB / 245.3 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.01112, allocations: 0 / 245.3 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001998/0.01132, allocations: 89.53 kB / 245.4 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.01138, allocations: 106.8 kB / 245.5 MB, free: 448 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.01161, allocations: 255.6 kB / 245.7 MB, free: 180 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.01164, allocations: 25.7 kB / 245.7 MB, free: 148 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.0117, allocations: 108.6 kB / 245.9 MB, free: 36 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.01172, allocations: 24.72 kB / 245.9 MB, free: 12 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.01179, allocations: 29.66 kB / 245.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0119, allocations: 340.5 kB / 246.2 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.01192, allocations: 6.828 kB / 246.2 MB, free: 15.63 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-05/0.01197, allocations: 52.27 kB / 246.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.455e-05/0.01204, allocations: 43.94 kB / 246.3 MB, free: 15.51 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01204, allocations: 0 / 246.3 MB, free: 15.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.01215, allocations: 69.12 kB / 246.4 MB, free: 15.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01217, allocations: 9.969 kB / 246.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01217, allocations: 3.938 kB / 246.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01219, allocations: 0 / 246.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.01229, allocations: 16.3 kB / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.01229, allocations: 0 / 246.4 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.01234, allocations: 8.5 kB / 246.4 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.01235, allocations: 0 / 246.4 MB, free: 15.4 MB / 250.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.714e-05/0.01245, allocations: 125.5 kB / 246.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/0.01252, allocations: 55.19 kB / 246.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.01266, allocations: 79.44 kB / 246.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01267, allocations: 0 / 246.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01267, allocations: 384 / 246.7 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01267, allocations: 8 kB / 246.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01281, allocations: 105.8 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01281, allocations: 0 / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.01288, allocations: 19.92 kB / 246.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.01295, allocations: 39.72 kB / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01295, allocations: 0 / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01296, allocations: 4 kB / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01296, allocations: 0 / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01297, allocations: 0 / 246.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.0131, allocations: 116.4 kB / 247 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.01313, allocations: 7.938 kB / 247 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.01318, allocations: 12 kB / 247 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.01322, allocations: 3.984 kB / 247 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01324, allocations: 8 kB / 247 MB, free: 14.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.01336, allocations: 93.59 kB / 247.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01336, allocations: 0 / 247.1 MB, free: 14.67 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01359, allocations: 28 kB / 247.1 MB, free: 14.64 MB / 250.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.00175/0.01534, allocations: 0.572 MB / 247.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.01548, allocations: 52.75 kB / 247.8 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/0.01549, allocations: 4 kB / 247.8 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.01555, allocations: 24.84 kB / 247.8 MB, free: 14.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.01596, allocations: 371.7 kB / 248.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.01667, allocations: 324.3 kB / 248.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.01674, allocations: 83.97 kB / 248.5 MB, free: 13.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.01681, allocations: 21.83 kB / 248.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.01694, allocations: 87.28 kB / 248.7 MB, free: 13.28 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01694, allocations: 4 kB / 248.7 MB, free: 13.27 MB / 250.7 MB Notification: Performance of Templates: time 0.007137/0.02408, allocations: 3.253 MB / 251.9 MB, free: 10.09 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4786116275936365]