Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001067/0.001067, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001129/0.001129, allocations: 172.6 kB / 24.92 MB, free: 8.727 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.9618/0.9618, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.293e-05, allocations: 2.312 kB / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003249/0.003271, allocations: 1.983 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.005218, allocations: 1.245 MB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.005342, allocations: 7.938 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.00566, allocations: 67.61 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.005975, allocations: 135.3 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.006497, allocations: 223.1 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.00674, allocations: 183.5 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.006843, allocations: 26.45 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.007017, allocations: 103.7 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.007135, allocations: 67.8 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.007158, allocations: 8 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.007329, allocations: 75.88 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.00741, allocations: 51.77 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.007466, allocations: 39.86 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.007768, allocations: 191.2 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007771, allocations: 0 / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007772, allocations: 0 / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.007776, allocations: 0 / 277.9 MB, free: 12.86 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005596/0.008336, allocations: 449.1 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008373, allocations: 15.97 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.008422, allocations: 20.91 kB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.008672, allocations: 200.8 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.00869, allocations: 4.375 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.008703, allocations: 8.375 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.008925, allocations: 145.9 kB / 278.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.008936, allocations: 11.92 kB / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.008943, allocations: 0 / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.008949, allocations: 0 / 278.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.008994, allocations: 22.75 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.009315, allocations: 211.5 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.009459, allocations: 137.4 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.009494, allocations: 30.58 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.009513, allocations: 7.938 kB / 279.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.557e-05/0.009609, allocations: 66.2 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.00961, allocations: 0 / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001747/0.009785, allocations: 85.53 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.009842, allocations: 110.8 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.01006, allocations: 258.6 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01009, allocations: 37.89 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.01014, allocations: 100.6 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.01017, allocations: 19.88 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.01021, allocations: 25.67 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01033, allocations: 334.8 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.01036, allocations: 10.83 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.0104, allocations: 52.27 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.553e-05/0.01047, allocations: 51.53 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01047, allocations: 0 / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.01058, allocations: 72.41 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01059, allocations: 8 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.0106, allocations: 0 / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01061, allocations: 0 / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.01069, allocations: 15.98 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01069, allocations: 0 / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.01075, allocations: 8 kB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.01075, allocations: 3.984 kB / 280.3 MB, free: 10.13 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 8.512e-05/0.01084, allocations: 121.4 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.0109, allocations: 57.59 kB / 280.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.01103, allocations: 79.38 kB / 280.6 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01103, allocations: 4 kB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01103, allocations: 0 / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01104, allocations: 0 / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.01117, allocations: 117.8 kB / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01117, allocations: 0 / 280.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.01123, allocations: 15.98 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01123, allocations: 0 / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01124, allocations: 3.938 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.01125, allocations: 8.062 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01125, allocations: 0 / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.01137, allocations: 112.4 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.01142, allocations: 31.84 kB / 280.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.01145, allocations: 11.88 kB / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-05/0.0115, allocations: 0 / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01154, allocations: 12.05 kB / 280.9 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.01155, allocations: 8 kB / 280.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.01166, allocations: 105.6 kB / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01166, allocations: 0 / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.01187, allocations: 39.92 kB / 281 MB, free: 9.344 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,subSample1.y,sample1.y,subSample1.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.001323/0.01319, allocations: 0.5107 MB / 281.6 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.01329, allocations: 36.78 kB / 281.6 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01329, allocations: 4 kB / 281.6 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.01332, allocations: 24.78 kB / 281.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.01351, allocations: 64.94 kB / 281.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01387, allocations: 339.5 kB / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.01391, allocations: 87.91 kB / 282.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.01397, allocations: 21.47 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.01405, allocations: 83.34 kB / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01405, allocations: 0 / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of Templates: time 0.004818/0.01887, allocations: 3.129 MB / 285.3 MB, free: 5.277 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7090016338042915]