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.001078/0.001078, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001121/0.001121, allocations: 165.3 kB / 24.82 MB, free: 9.301 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 1.053/1.053, allocations: 177 MB / 205.1 MB, free: 5.473 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.783e-06/1.783e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.224e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002043/0.002065, allocations: 1.641 MB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.002792, allocations: 0.5258 MB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.002869, allocations: 0 / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.002912, allocations: 11.86 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.003033, allocations: 11.88 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.003281, allocations: 59.8 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.003374, allocations: 47.8 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.003455, allocations: 24.05 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003573, allocations: 35.89 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.003614, allocations: 11.94 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.003628, allocations: 4 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.003664, allocations: 7.984 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.003699, allocations: 15.92 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003719, allocations: 15.98 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.00382, allocations: 43.77 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003822, allocations: 0 / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003823, allocations: 4 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003826, allocations: 0 / 275.8 MB, free: 14.73 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.000327/0.004153, allocations: 416.2 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.004189, allocations: 15.98 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.004282, allocations: 16.88 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.00443, allocations: 153 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.004437, allocations: 384 / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-06/0.004444, allocations: 4.375 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.004607, allocations: 129 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004614, allocations: 0 / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.00462, allocations: 4 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.004625, allocations: 7.984 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.571e-05/0.00464, allocations: 7.938 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.004829, allocations: 255.8 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.852e-05/0.004888, allocations: 81.25 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.004914, allocations: 43.05 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.004931, allocations: 7.938 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.00495, allocations: 45.31 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004951, allocations: 0 / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001169/0.005068, allocations: 61.58 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.005108, allocations: 110.8 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.005191, allocations: 193.2 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.0052, allocations: 25.7 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.005247, allocations: 143.2 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.005259, allocations: 4 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.005284, allocations: 23.33 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.00539, allocations: 0.4923 MB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-06/0.005398, allocations: 4 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.005404, allocations: 0 / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.005424, allocations: 7.688 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.005428, allocations: 7.938 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.123e-05/0.005469, allocations: 33.64 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.00548, allocations: 7.125 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.005483, allocations: 8.094 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005494, allocations: 0 / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.005535, allocations: 3.984 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-06/0.005537, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.005553, allocations: 4 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.005557, allocations: 0 / 278.1 MB, free: 12.19 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 5.631e-05/0.005614, allocations: 156.5 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.005658, allocations: 61.56 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.00568, allocations: 7.969 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.005682, allocations: 8.062 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005683, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005686, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.122e-05/0.005777, allocations: 109.2 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.00578, allocations: 4 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.005806, allocations: 7.984 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.005809, allocations: 7.938 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.005813, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005814, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005815, allocations: 0 / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.694e-05/0.005902, allocations: 211.2 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.005927, allocations: 23.78 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.005936, allocations: 3.984 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.00597, allocations: 8 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.005989, allocations: 0 / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.005992, allocations: 0 / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.006035, allocations: 147.1 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006035, allocations: 0 / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.006174, allocations: 4 kB / 278.8 MB, free: 11.38 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 7.047e-05/0.006244, allocations: 107.2 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.45e-05/0.006298, allocations: 15.62 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.0063, allocations: 0 / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.006312, allocations: 15.67 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.006531, allocations: 27.73 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.00715, allocations: 192.3 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.007183, allocations: 63.66 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.084e-05/0.007204, allocations: 4 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.007256, allocations: 82.19 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007257, allocations: 0 / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Templates: time 0.002047/0.009303, allocations: 0.6742 MB / 280 MB, free: 10.14 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.808236333541572]