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.001022/0.001022, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001011/0.001011, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9664/0.9664, allocations: 177 MB / 205.2 MB, free: 5.539 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 9.02e-07/9.02e-07, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.869e-06/1.077e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001682/0.001692, allocations: 1.649 MB / 274.6 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.002562, allocations: 0.5258 MB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.002641, allocations: 7.938 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.002677, allocations: 3.938 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.002775, allocations: 11.86 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.003022, allocations: 55.75 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.003109, allocations: 55.78 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.003182, allocations: 12.11 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.003301, allocations: 35.91 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.00334, allocations: 15.92 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.003352, allocations: 8 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.003382, allocations: 7.984 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.003416, allocations: 19.92 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.003435, allocations: 8 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.003554, allocations: 51.7 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.003558, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.00356, allocations: 0 / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.003564, allocations: 0 / 275.5 MB, free: 15.24 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.0003683/0.003933, allocations: 408.2 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003967, allocations: 11.98 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.004108, allocations: 24.89 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.004289, allocations: 149 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004299, allocations: 4.375 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004309, allocations: 4.312 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.004549, allocations: 141 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.004555, allocations: 0 / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.004563, allocations: 4 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.004571, allocations: 4 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.004597, allocations: 11.97 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.004827, allocations: 287 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.79e-05/0.004895, allocations: 89.19 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.004926, allocations: 31.11 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.004941, allocations: 0 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.004961, allocations: 37.39 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004962, allocations: 4 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.005103, allocations: 69.52 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.005147, allocations: 106.8 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.005248, allocations: 201.3 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.005257, allocations: 25.7 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.005302, allocations: 134.9 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.005315, allocations: 4 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005342, allocations: 19.33 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005451, allocations: 0.4965 MB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.005462, allocations: 4 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.005471, allocations: 0 / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.005496, allocations: 15.62 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005498, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.043e-05/0.005549, allocations: 37.69 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005561, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005565, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.005574, allocations: 0 / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.005628, allocations: 4 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005632, allocations: 4.094 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.005646, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.00565, allocations: 0 / 277.8 MB, free: 12.66 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 7.255e-05/0.005723, allocations: 168.5 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.005778, allocations: 49.59 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.005809, allocations: 11.95 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.005811, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.005816, allocations: 4 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005819, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.005929, allocations: 140.6 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.005931, allocations: 4 kB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.005971, allocations: 11.98 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005973, allocations: 3.938 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.005982, allocations: 7.938 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.005983, allocations: 0 / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.005987, allocations: 4 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.00612, allocations: 219.2 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.006153, allocations: 23.86 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.006166, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.0062, allocations: 4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.006232, allocations: 7.984 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.006239, allocations: 4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.006292, allocations: 139.2 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006292, allocations: 3.938 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.006441, allocations: 12 kB / 278.6 MB, free: 11.79 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 8.664e-05/0.006528, allocations: 91.25 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.006606, allocations: 19.67 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.006608, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.00662, allocations: 11.75 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.006862, allocations: 39.94 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.00728, allocations: 184.4 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.007318, allocations: 59.34 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.007346, allocations: 7.984 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.007372, allocations: 16.69 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007373, allocations: 4 kB / 279 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Templates: time 0.002071/0.009444, allocations: 0.6289 MB / 279.6 MB, free: 10.67 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.7911759200505912]