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.002074/0.002074, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002366/0.002366, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.954e-06/1.954e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.449e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004151/0.004185, allocations: 1.916 MB / 274.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.006836, allocations: 1.246 MB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.00699, allocations: 7.938 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.007369, allocations: 71.59 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.007804, allocations: 131.3 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.008572, allocations: 239.1 kB / 275.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.008902, allocations: 199.3 kB / 276.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.009023, allocations: 17.8 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.009215, allocations: 107.7 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.009361, allocations: 75.78 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.009394, allocations: 8 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.009585, allocations: 79.81 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.009687, allocations: 51.78 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.659e-05/0.009774, allocations: 43.84 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.01022, allocations: 259.1 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.01022, allocations: 0 / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.202e-06/0.01023, allocations: 4 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.01023, allocations: 0 / 276.7 MB, free: 13.36 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.0008832/0.01112, allocations: 486.4 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.01116, allocations: 12.03 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.01125, allocations: 28.8 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.01174, allocations: 261.7 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.01178, allocations: 8.359 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.0118, allocations: 12.38 kB / 277.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.01225, allocations: 197.8 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01226, allocations: 3.938 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.01227, allocations: 0 / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.01228, allocations: 4 kB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01243, allocations: 39.92 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.01303, allocations: 331 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.01336, allocations: 142.4 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.01349, allocations: 55.42 kB / 278.3 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.01352, allocations: 4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.01373, allocations: 75.38 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.01373, allocations: 7.938 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005005/0.01423, allocations: 173.6 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.01436, allocations: 174.1 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.01481, allocations: 348.2 kB / 279.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.01484, allocations: 29.7 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.01497, allocations: 132.3 kB / 279.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01501, allocations: 23.91 kB / 279.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.997e-05/0.01508, allocations: 29.66 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.01528, allocations: 330.8 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.01536, allocations: 28.36 kB / 279.6 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01551, allocations: 114.9 kB / 279.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.01568, allocations: 69.58 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01568, allocations: 0 / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.01593, allocations: 109.6 kB / 279.9 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01595, allocations: 4 kB / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01595, allocations: 0 / 279.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01597, allocations: 3.938 kB / 279.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.01608, allocations: 12 kB / 279.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01608, allocations: 4.062 kB / 279.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.01616, allocations: 11.94 kB / 279.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01617, allocations: 0 / 279.9 MB, free: 9.852 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.0003012/0.01647, allocations: 153.8 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.01662, allocations: 85.48 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.01694, allocations: 127.4 kB / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.01694, allocations: 4 kB / 280.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.01695, allocations: 0 / 280.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.01695, allocations: 8.078 kB / 280.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.0172, allocations: 189.1 kB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.0172, allocations: 0 / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.01729, allocations: 15.98 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.01729, allocations: 4 kB / 280.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.0173, allocations: 4 kB / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.01731, allocations: 8.062 kB / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01731, allocations: 0 / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.01769, allocations: 199.3 kB / 280.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.639e-05/0.01779, allocations: 39.84 kB / 280.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.01782, allocations: 8 kB / 280.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.0179, allocations: 7.984 kB / 280.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.01797, allocations: 11.98 kB / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.01799, allocations: 4 kB / 280.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003072/0.0183, allocations: 255 kB / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0183, allocations: 0 / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.0186, allocations: 35.94 kB / 281.1 MB, free: 8.633 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.002042/0.02064, allocations: 457.1 kB / 281.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.0209, allocations: 75.89 kB / 281.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.0209, allocations: 4 kB / 281.6 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.021, allocations: 27.98 kB / 281.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.02152, allocations: 90.34 kB / 281.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.02232, allocations: 414.7 kB / 282.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.02251, allocations: 140.6 kB / 282.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.756e-05/0.02259, allocations: 21.64 kB / 282.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.02266, allocations: 24.5 kB / 282.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02266, allocations: 0 / 282.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of Templates: time 0.008205/0.03086, allocations: 3.25 MB / 285.6 MB, free: 4.328 MB / 266.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.558956805965863]