Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001525/0.001525, 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.002643/0.002643, 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.536/1.536, allocations: 177 MB / 204.4 MB, free: 5.617 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.91e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002934/0.002963, allocations: 1.606 MB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004036, allocations: 0.5063 MB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.004128, allocations: 7.938 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.951e-05/0.004187, allocations: 3.938 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.004336, allocations: 19.84 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.004665, allocations: 51.77 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.004787, allocations: 55.78 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.004886, allocations: 12.16 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005034, allocations: 31.92 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.005093, allocations: 19.91 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.005111, allocations: 8 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-05/0.005151, allocations: 4 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.005204, allocations: 15.92 kB / 274.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.005239, allocations: 15.94 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.005403, allocations: 59.73 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005406, allocations: 0 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005406, allocations: 4 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005411, allocations: 0 / 274.6 MB, free: 15.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005254/0.005937, allocations: 305.9 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.005978, allocations: 15.98 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.006143, allocations: 28.81 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.006414, allocations: 142.2 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.006429, allocations: 8.375 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.006438, allocations: 384 / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.006739, allocations: 118.1 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.006747, allocations: 4 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.006759, allocations: 4 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006765, allocations: 4 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.006849, allocations: 15.98 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.007172, allocations: 214.3 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.007309, allocations: 71.72 kB / 275.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.007383, allocations: 34.62 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.007406, allocations: 4 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.007458, allocations: 50.55 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.007459, allocations: 0 / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000294/0.007753, allocations: 89.45 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.007841, allocations: 106.8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.007994, allocations: 145.2 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.008016, allocations: 29.7 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.008087, allocations: 88.52 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.008099, allocations: 4 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.008137, allocations: 17.7 kB / 276.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.008316, allocations: 322.8 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.008358, allocations: 7.984 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.008394, allocations: 4 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/0.008469, allocations: 24.78 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00847, allocations: 0 / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001138/0.008584, allocations: 49.7 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.008601, allocations: 8.031 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.008605, allocations: 0 / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.008616, allocations: 3.938 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.008679, allocations: 7.984 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008683, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.008713, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.008719, allocations: 4 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000104/0.008823, allocations: 121.8 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.008915, allocations: 57.62 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.008941, allocations: 11.98 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.008943, allocations: 4 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.008947, allocations: 0 / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.008949, allocations: 0 / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.009118, allocations: 121.2 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009119, allocations: 0 / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.009178, allocations: 11.98 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00918, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.00919, allocations: 4 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009191, allocations: 3.938 kB / 276.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009192, allocations: 4 kB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.00943, allocations: 185.1 kB / 277 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.009473, allocations: 19.89 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.009488, allocations: 0 / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.009563, allocations: 8 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.009599, allocations: 0 / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.009605, allocations: 3.984 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.009695, allocations: 107.3 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009695, allocations: 0 / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.009912, allocations: 4 kB / 277.2 MB, free: 12.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001172/0.01003, allocations: 107.2 kB / 277.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.01016, allocations: 23.98 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01017, allocations: 0 / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.01021, allocations: 8 kB / 277.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.01057, allocations: 36.61 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.01097, allocations: 189.3 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.406e-05/0.01106, allocations: 79.33 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.084e-05/0.01109, allocations: 4 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.01112, allocations: 8.5 kB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01112, allocations: 3.938 kB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of Templates: time 0.003332/0.01446, allocations: 0.6364 MB / 278.3 MB, free: 11.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.521655520075001]