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.001105/0.001105, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001934/0.001934, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9705/0.9705, allocations: 177 MB / 204.8 MB, free: 5.578 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 1.863e-06/1.863e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.03e-05, allocations: 9.203 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00237/0.002401, allocations: 1.615 MB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.003209, allocations: 0.5258 MB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.003303, allocations: 3.938 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.003355, allocations: 7.938 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.003503, allocations: 7.938 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.003811, allocations: 63.67 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.003905, allocations: 43.86 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.004002, allocations: 12.17 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.00413, allocations: 39.83 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.886e-05/0.004179, allocations: 19.92 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.004195, allocations: 0 / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.045e-05/0.004235, allocations: 8 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.00428, allocations: 15.92 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.004305, allocations: 15.92 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004436, allocations: 51.77 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004438, allocations: 0 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.00444, allocations: 0 / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004444, allocations: 0 / 275.3 MB, free: 15.03 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.0003771/0.004821, allocations: 404.2 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.004859, allocations: 11.98 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.004987, allocations: 20.88 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.00517, allocations: 149.1 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.00518, allocations: 8.375 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.005192, allocations: 4.375 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.005403, allocations: 117.6 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005411, allocations: 4.125 kB / 276 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.005421, allocations: 4.125 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005428, allocations: 0 / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.005448, allocations: 11.92 kB / 276 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.005703, allocations: 267.5 kB / 276.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.005753, allocations: 54.06 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.005776, allocations: 23.48 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.005795, allocations: 4 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.005817, allocations: 41.33 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.005818, allocations: 0 / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.005958, allocations: 49.58 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.005999, allocations: 85.05 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.006093, allocations: 197.2 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.006101, allocations: 25.95 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.006154, allocations: 142.8 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.006166, allocations: 4 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.006192, allocations: 15.38 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.006295, allocations: 0.4923 MB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.006306, allocations: 0 / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-06/0.006312, allocations: 0 / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.015e-05/0.006332, allocations: 11.69 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006334, allocations: 0 / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.861e-05/0.006383, allocations: 41.59 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.006394, allocations: 12.03 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.006399, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.006412, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.006474, allocations: 7.984 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006479, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.006494, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.006499, allocations: 4 kB / 277.5 MB, free: 12.6 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.046e-05/0.00656, allocations: 156.6 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.006597, allocations: 45.58 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.006626, allocations: 7.812 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006628, allocations: 4.031 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.006631, allocations: 4 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006634, allocations: 0 / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.584e-05/0.00673, allocations: 132.6 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006731, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.006752, allocations: 7.984 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006754, allocations: 4 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.006761, allocations: 7.875 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006762, allocations: 0 / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006763, allocations: 0 / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006865, allocations: 207.6 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.006892, allocations: 11.94 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.006904, allocations: 3.938 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.963e-05/0.006934, allocations: 4 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.006964, allocations: 0 / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.006966, allocations: 0 / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.007026, allocations: 151.2 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007026, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.00716, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.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 8.229e-05/0.007243, allocations: 99.22 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.875e-05/0.007321, allocations: 15.69 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007323, allocations: 0 / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.007336, allocations: 7.688 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.007589, allocations: 23.67 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.008047, allocations: 173.2 kB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.008083, allocations: 63.56 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.16e-05/0.008105, allocations: 4.25 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.008133, allocations: 12.5 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.008134, allocations: 0 / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Templates: time 0.002152/0.01029, allocations: 0.5702 MB / 279.2 MB, free: 10.77 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] 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","",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.830767786130309]