Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 98.36 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 202.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.4 MB, free: 9.832 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002677, allocations: 8 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 51.52 MB / 358.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002008/0.1441, allocations: 1.262 MB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1452, allocations: 0.5381 MB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.1453, allocations: 7.938 kB / 360.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.1453, allocations: 3.984 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1455, allocations: 7.922 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1458, allocations: 51.83 kB / 360.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1459, allocations: 43.84 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.146, allocations: 12.17 kB / 360.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1462, allocations: 27.91 kB / 360.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.1462, allocations: 23.86 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1463, allocations: 0 / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.1463, allocations: 4 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.1464, allocations: 7.938 kB / 360.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.1464, allocations: 33.7 kB / 360.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1465, allocations: 43.91 kB / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1466, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1466, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1466, allocations: 0 / 360.7 MB, free: 11.39 MB / 302.1 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.0005667/0.1471, allocations: 383.2 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1472, allocations: 12.03 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.1474, allocations: 19.89 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1476, allocations: 183 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1476, allocations: 7.984 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1476, allocations: 7.953 kB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1479, allocations: 105 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1479, allocations: 0 / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1479, allocations: 0 / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.148, allocations: 0 / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.148, allocations: 31.92 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1484, allocations: 261.8 kB / 361.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.1485, allocations: 49.14 kB / 361.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/0.1485, allocations: 21.78 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1486, allocations: 0 / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1486, allocations: 42.48 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1486, allocations: 4 kB / 361.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.1489, allocations: 73.73 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1489, allocations: 85.09 kB / 362 MB, free: 9.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1491, allocations: 133.8 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1491, allocations: 25.7 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.1492, allocations: 100.1 kB / 362.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1492, allocations: 3.906 kB / 362.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1492, allocations: 3.938 kB / 362.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1493, allocations: 318.8 kB / 362.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.1494, allocations: 15.98 kB / 362.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.1494, allocations: 21.66 kB / 362.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.1495, allocations: 15.98 kB / 362.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1495, allocations: 0 / 362.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1496, allocations: 57.75 kB / 362.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1496, allocations: 4 kB / 362.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1497, allocations: 4 kB / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1497, allocations: 0 / 362.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.1498, allocations: 11.92 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1498, allocations: 0 / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.1498, allocations: 8.062 kB / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1498, allocations: 0 / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.853e-05/0.1499, allocations: 121.8 kB / 362.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.15, allocations: 37.59 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/0.15, allocations: 15.83 kB / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.15, allocations: 0 / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.15, allocations: 4 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1501, allocations: 0 / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.1502, allocations: 165.6 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1502, allocations: 4.031 kB / 363 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.1503, allocations: 11.98 kB / 363 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1503, allocations: 0 / 363 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1503, allocations: 4 kB / 363 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1503, allocations: 3.938 kB / 363 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1503, allocations: 4 kB / 363 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.1505, allocations: 160.3 kB / 363.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1506, allocations: 96.95 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1506, allocations: 4 kB / 363.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.1507, allocations: 4 kB / 363.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1507, allocations: 4 kB / 363.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1507, allocations: 0 / 363.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.237e-05/0.1508, allocations: 109.8 kB / 363.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1508, allocations: 7.969 kB / 363.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.151, allocations: 4 kB / 363.4 MB, free: 8.309 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.1512, allocations: 99.19 kB / 363.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.1513, allocations: 27.92 kB / 363.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1513, allocations: 0 / 363.5 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.1513, allocations: 20.11 kB / 363.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1517, allocations: 19.97 kB / 363.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.1521, allocations: 177.5 kB / 363.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1524, allocations: 0.6928 MB / 364.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.1524, allocations: 4 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1525, allocations: 7.438 kB / 364.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1525, allocations: 0 / 364.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of Templates: time 0.002848/0.1553, allocations: 474 kB / 364.9 MB, free: 6.742 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches