Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001267/0.001267, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.007129/0.007129, allocations: 157 kB / 24.7 MB, free: 9.434 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.9137/0.9137, allocations: 177 MB / 204.9 MB, free: 5.762 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.374e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002316/0.00235, allocations: 1.571 MB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.003131, allocations: 0.5063 MB / 327.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.003213, allocations: 3.938 kB / 327.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.003258, allocations: 7.922 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.003405, allocations: 11.94 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.003686, allocations: 55.75 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.003783, allocations: 43.86 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.003887, allocations: 20.09 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.00401, allocations: 35.86 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.004061, allocations: 15.91 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.004078, allocations: 4 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.679e-05/0.004115, allocations: 4 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.004162, allocations: 15.92 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.004186, allocations: 15.94 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.004322, allocations: 59.8 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004324, allocations: 0 / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.004326, allocations: 0 / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.00433, allocations: 0 / 328.1 MB, free: 13.03 MB / 298.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.0007054/0.005035, allocations: 309.9 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.005079, allocations: 11.98 kB / 328.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.00522, allocations: 20.88 kB / 328.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.005454, allocations: 141.6 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.005465, allocations: 4.375 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.005474, allocations: 4.375 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.005728, allocations: 109.6 kB / 328.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005738, allocations: 8.125 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.005749, allocations: 4.125 kB / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.005755, allocations: 0 / 328.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.0058, allocations: 23.92 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.006073, allocations: 205.5 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.006137, allocations: 41.2 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.006169, allocations: 25.72 kB / 329 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.00619, allocations: 3.984 kB / 329 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.006214, allocations: 38.5 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.006215, allocations: 0 / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.006412, allocations: 65.78 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.006466, allocations: 85.14 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.006567, allocations: 144.7 kB / 329.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.006577, allocations: 25.7 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.006621, allocations: 92.12 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.006636, allocations: 7.891 kB / 329.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.006663, allocations: 17.72 kB / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.00674, allocations: 310.8 kB / 329.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.006764, allocations: 7.984 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.006779, allocations: 8 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.00682, allocations: 28.84 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006822, allocations: 0 / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.678e-05/0.006888, allocations: 53.58 kB / 329.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.006901, allocations: 4 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006905, allocations: 4 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006918, allocations: 3.984 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.006968, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.006973, allocations: 4 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.006988, allocations: 4.031 kB / 329.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.006994, allocations: 0 / 329.9 MB, free: 11.05 MB / 298.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.426e-05/0.007059, allocations: 117.8 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.007093, allocations: 45.53 kB / 330.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.007118, allocations: 15.77 kB / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00712, allocations: 0 / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.007125, allocations: 3.984 kB / 330.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.00713, allocations: 7.984 kB / 330.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.431e-05/0.007224, allocations: 117.2 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007225, allocations: 0 / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.007247, allocations: 8.031 kB / 330.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007249, allocations: 3.984 kB / 330.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.007256, allocations: 7.938 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007257, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007258, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007365, allocations: 160.3 kB / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.007393, allocations: 11.94 kB / 330.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.007407, allocations: 11.94 kB / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.007438, allocations: 4 kB / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.007467, allocations: 12.02 kB / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.00747, allocations: 0 / 330.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.681e-05/0.007517, allocations: 103.3 kB / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007517, allocations: 0 / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007651, allocations: 4 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.873e-05/0.00773, allocations: 99.23 kB / 330.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.007816, allocations: 19.98 kB / 330.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007818, allocations: 0 / 330.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.007837, allocations: 12 kB / 330.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.008085, allocations: 20.52 kB / 330.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.008362, allocations: 187.2 kB / 330.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.008416, allocations: 75.08 kB / 330.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.008446, allocations: 12.5 kB / 330.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008446, allocations: 0 / 330.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of Templates: time 0.001662/0.01011, allocations: 0.7632 MB / 331.7 MB, free: 9.129 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.225016045384109]