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.0009284/0.0009284, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009589/0.0009589, allocations: 165 kB / 25.61 MB, free: 8.578 MB / 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 0.9397/0.9397, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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.293e-06/1.293e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.511e-05, allocations: 2.312 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002044/0.002059, allocations: 1.63 MB / 275.8 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.002852, allocations: 0.5161 MB / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.00296, allocations: 3.938 kB / 276.3 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.003018, allocations: 6 kB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.003169, allocations: 19.86 kB / 276.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.00343, allocations: 59.73 kB / 276.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.003523, allocations: 47.8 kB / 276.4 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.003615, allocations: 17.02 kB / 276.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.003725, allocations: 35.91 kB / 276.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.00377, allocations: 12.61 kB / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.003785, allocations: 7.938 kB / 276.5 MB, free: 1.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.00382, allocations: 10.38 kB / 276.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.003857, allocations: 11.98 kB / 276.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.003876, allocations: 19.92 kB / 276.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.003985, allocations: 47.81 kB / 276.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003987, allocations: 0 / 276.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003988, allocations: 0 / 276.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.003992, allocations: 1.5 kB / 276.6 MB, free: 1.844 MB / 250.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.0003626/0.004354, allocations: 404.2 kB / 277 MB, free: 1.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.004387, allocations: 12.03 kB / 277 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.004486, allocations: 16.89 kB / 277 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.004625, allocations: 158.4 kB / 277.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004634, allocations: 8.375 kB / 277.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.004642, allocations: 4.375 kB / 277.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.00481, allocations: 129 kB / 277.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004816, allocations: 0 / 277.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.004823, allocations: 4 kB / 277.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004828, allocations: 0 / 277.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.004845, allocations: 11.92 kB / 277.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.005043, allocations: 251.8 kB / 277.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.005117, allocations: 89.23 kB / 277.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.005178, allocations: 31.12 kB / 277.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.005195, allocations: 7.938 kB / 277.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005215, allocations: 45.38 kB / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.005216, allocations: 0 / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001223/0.005338, allocations: 65.52 kB / 277.8 MB, free: 452 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.005383, allocations: 107.2 kB / 277.9 MB, free: 320 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.005465, allocations: 200.9 kB / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.005474, allocations: 29.64 kB / 278.1 MB, free: 68 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.005528, allocations: 150.7 kB / 278.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.005539, allocations: 0 / 278.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.005561, allocations: 19.38 kB / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.005668, allocations: 492.1 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.005676, allocations: 7.984 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.005683, allocations: 3.938 kB / 278.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.005702, allocations: 7.688 kB / 278.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005704, allocations: 4 kB / 278.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.113e-05/0.005746, allocations: 49.64 kB / 278.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.005756, allocations: 4 kB / 278.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005759, allocations: 4 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.005768, allocations: 0 / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.005812, allocations: 3.984 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005814, allocations: 0 / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.647e-05/0.00583, allocations: 4 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005835, allocations: 0 / 278.8 MB, free: 15.3 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 6.339e-05/0.005898, allocations: 160.5 kB / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.005942, allocations: 61.61 kB / 279.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.005963, allocations: 3.969 kB / 279.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005966, allocations: 4 kB / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005967, allocations: 0 / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00597, allocations: 0 / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.006099, allocations: 109.2 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.006102, allocations: 4 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.006146, allocations: 11.92 kB / 279.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.006149, allocations: 7.938 kB / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.006154, allocations: 0 / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006156, allocations: 4.062 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006157, allocations: 0 / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.006257, allocations: 203.3 kB / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.006288, allocations: 19.89 kB / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.006296, allocations: 0 / 279.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.035e-05/0.006336, allocations: 7.984 kB / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.006358, allocations: 0 / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006362, allocations: 0 / 279.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.006408, allocations: 158 kB / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006408, allocations: 0 / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006541, allocations: 8.031 kB / 279.6 MB, free: 14.48 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 6.725e-05/0.006608, allocations: 103.2 kB / 279.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.006668, allocations: 15.69 kB / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006669, allocations: 0 / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.006683, allocations: 15.62 kB / 279.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.006907, allocations: 32.66 kB / 279.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.007255, allocations: 188.8 kB / 279.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.007292, allocations: 67.14 kB / 280 MB, free: 13.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.876e-05/0.007311, allocations: 4 kB / 280 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.007367, allocations: 74.2 kB / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007368, allocations: 0 / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002051/0.009419, allocations: 0.6931 MB / 280.8 MB, free: 13.24 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",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.754185189027339]