Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.585e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003934/0.00397, allocations: 1.912 MB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.006617, allocations: 1.242 MB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.006774, allocations: 7.938 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.007161, allocations: 71.59 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.007634, allocations: 143.2 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007357/0.00837, allocations: 231.2 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.008717, allocations: 199.3 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.008861, allocations: 21.8 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.009065, allocations: 111.7 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.009216, allocations: 71.8 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.009247, allocations: 8 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.009466, allocations: 75.88 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.00958, allocations: 59.77 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.009675, allocations: 43.84 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.01012, allocations: 255.1 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01012, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01012, allocations: 0 / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.01013, allocations: 0 / 276.6 MB, free: 13.35 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009283/0.01106, allocations: 494.3 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.0111, allocations: 11.98 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.01121, allocations: 28.8 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.01176, allocations: 253.8 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.01178, allocations: 12.36 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.0118, allocations: 4.375 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.0123, allocations: 201.8 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.01232, allocations: 192 / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.01235, allocations: 4.375 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.01236, allocations: 11.94 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.01251, allocations: 39.92 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.01319, allocations: 327 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.01355, allocations: 142.5 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.01368, allocations: 51.42 kB / 278.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.01371, allocations: 11.94 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.01393, allocations: 87.31 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.01393, allocations: 0 / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000539/0.01447, allocations: 177.4 kB / 278.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/0.01477, allocations: 166.2 kB / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.01524, allocations: 348.2 kB / 278.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.01527, allocations: 29.7 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01541, allocations: 132.7 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.01543, allocations: 19.84 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.0155, allocations: 37.66 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.01568, allocations: 330.8 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.01576, allocations: 23.98 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.0159, allocations: 106.8 kB / 279.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.01604, allocations: 61.64 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01604, allocations: 0 / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002431/0.01628, allocations: 117.4 kB / 279.8 MB, free: 9.879 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.0163, allocations: 8 kB / 279.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01631, allocations: 4.062 kB / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01632, allocations: 0 / 279.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.01642, allocations: 12 kB / 279.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01643, allocations: 0 / 279.8 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.01651, allocations: 15.94 kB / 279.8 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.01651, allocations: 0 / 279.8 MB, free: 9.84 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.0001569/0.01667, allocations: 149.8 kB / 280 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.0168, allocations: 89.36 kB / 280.1 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.01711, allocations: 139.8 kB / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.01711, allocations: 320 / 280.2 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.01712, allocations: 4 kB / 280.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01712, allocations: 0 / 280.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01735, allocations: 189.1 kB / 280.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01735, allocations: 4 kB / 280.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.01743, allocations: 15.98 kB / 280.4 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01744, allocations: 3.938 kB / 280.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.01745, allocations: 4 kB / 280.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01745, allocations: 3.938 kB / 280.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01746, allocations: 4 kB / 280.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.01779, allocations: 195.5 kB / 280.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.01788, allocations: 39.78 kB / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.01792, allocations: 8 kB / 280.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.01799, allocations: 3.984 kB / 280.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.01806, allocations: 11.98 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.01808, allocations: 8 kB / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002881/0.01837, allocations: 259 kB / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01837, allocations: 0 / 280.9 MB, free: 8.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01864, allocations: 35.94 kB / 281 MB, free: 8.613 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001997/0.02064, allocations: 445 kB / 281.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.02089, allocations: 75.91 kB / 281.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02089, allocations: 0 / 281.5 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.021, allocations: 31.98 kB / 281.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.02148, allocations: 92 kB / 281.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.02227, allocations: 419 kB / 282 MB, free: 7.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.02243, allocations: 140.2 kB / 282.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.278e-05/0.02252, allocations: 21.8 kB / 282.2 MB, free: 7.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.02259, allocations: 32.48 kB / 282.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.02259, allocations: 4 kB / 282.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of Templates: time 0.007928/0.03052, allocations: 3.232 MB / 285.4 MB, free: 4.285 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.38020122400485]