Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.0007716/0.0007716, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003683/0.003683, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 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 0.8643/0.8643, allocations: 177.1 MB / 205 MB, free: 5.746 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.095e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002265/0.002285, allocations: 1.911 MB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.003672, allocations: 1.253 MB / 329 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.003782, allocations: 7.938 kB / 329 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.004083, allocations: 63.61 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.004361, allocations: 143.3 kB / 329.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.004779, allocations: 238.4 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.004989, allocations: 199.3 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005093, allocations: 29.72 kB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.005214, allocations: 103.7 kB / 329.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.00531, allocations: 71.8 kB / 329.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.005329, allocations: 12 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005442, allocations: 67.88 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.005513, allocations: 59.77 kB / 330 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.005564, allocations: 43.86 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.00583, allocations: 255.2 kB / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005832, allocations: 0 / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005833, allocations: 0 / 330.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005837, allocations: 0 / 330.2 MB, free: 10.99 MB / 298.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.000562/0.006399, allocations: 0.4898 MB / 330.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.006433, allocations: 8.031 kB / 330.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.006481, allocations: 24.8 kB / 330.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.006763, allocations: 241.8 kB / 331 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.00678, allocations: 12.36 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.006794, allocations: 4.375 kB / 331 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.0071, allocations: 205.8 kB / 331.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.00711, allocations: 3.938 kB / 331.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.007121, allocations: 0 / 331.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.007127, allocations: 4 kB / 331.2 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.00721, allocations: 39.92 kB / 331.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.00759, allocations: 335 kB / 331.6 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.007772, allocations: 150.4 kB / 331.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.007838, allocations: 51.42 kB / 331.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.007858, allocations: 7.938 kB / 331.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.007985, allocations: 87.31 kB / 331.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.007987, allocations: 0 / 331.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002769/0.008264, allocations: 169.4 kB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.008337, allocations: 170.1 kB / 332.2 MB, free: 8.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.00888, allocations: 344.2 kB / 332.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.008896, allocations: 37.69 kB / 332.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.00897, allocations: 132.3 kB / 332.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.008989, allocations: 15.84 kB / 332.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.009028, allocations: 33.66 kB / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.009121, allocations: 330.8 kB / 333.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.009161, allocations: 24.36 kB / 333.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.009238, allocations: 114.8 kB / 333.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.009319, allocations: 65.58 kB / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.009323, allocations: 0 / 333.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001202/0.009443, allocations: 105.5 kB / 333.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.009457, allocations: 7.984 kB / 333.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009463, allocations: 0 / 333.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.009476, allocations: 4 kB / 333.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.009544, allocations: 12 kB / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.009553, allocations: 8.062 kB / 333.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.009591, allocations: 7.938 kB / 333.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.0096, allocations: 4 kB / 333.4 MB, free: 7.492 MB / 298.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.000102/0.009702, allocations: 150.8 kB / 333.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.009772, allocations: 77.48 kB / 333.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.009953, allocations: 135.5 kB / 333.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009956, allocations: 0 / 333.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.009962, allocations: 4 kB / 333.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.009966, allocations: 4.094 kB / 333.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.0101, allocations: 185.4 kB / 334 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.0101, allocations: 8 kB / 334 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.01015, allocations: 19.98 kB / 334 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01015, allocations: 0 / 334 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.01016, allocations: 4 kB / 334 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01016, allocations: 0 / 334 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01017, allocations: 4 kB / 334 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01034, allocations: 195.3 kB / 334.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.0104, allocations: 35.84 kB / 334.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01042, allocations: 8 kB / 334.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.01045, allocations: 11.98 kB / 334.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.0105, allocations: 7.984 kB / 334.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.01051, allocations: 7.984 kB / 334.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.01067, allocations: 259 kB / 334.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 0 / 334.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01085, allocations: 35.94 kB / 334.6 MB, free: 6.281 MB / 298.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.0007378/0.01159, allocations: 462.2 kB / 335 MB, free: 6.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.01176, allocations: 71.91 kB / 335.1 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01176, allocations: 4 kB / 335.1 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.01181, allocations: 23.98 kB / 335.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01209, allocations: 87.36 kB / 335.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.01256, allocations: 443.7 kB / 335.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01268, allocations: 136.6 kB / 335.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.01272, allocations: 20.5 kB / 335.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01272, allocations: 4 kB / 335.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003712/0.01643, allocations: 3.182 MB / 339 MB, free: 2.008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.333957441151142]