Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001644, allocations: 113.8 kB / 18.3 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 219.8 kB / 19.26 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.521/1.521, allocations: 227.7 MB / 247.7 MB, free: 10.33 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 69.2 kB / 307.9 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003376/0.1286, allocations: 1.555 MB / 360 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1299, allocations: 0.5649 MB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.13, allocations: 0 / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.453e-05/0.1301, allocations: 15.86 kB / 360.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1303, allocations: 7.922 kB / 360.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1306, allocations: 67.75 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1308, allocations: 43.86 kB / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1309, allocations: 16.17 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.131, allocations: 31.84 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.1311, allocations: 23.86 kB / 360.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1311, allocations: 0 / 360.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.1312, allocations: 15.94 kB / 360.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1313, allocations: 15.92 kB / 360.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.1313, allocations: 23.8 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1315, allocations: 59.75 kB / 360.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1315, allocations: 0 / 360.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1315, allocations: 0 / 360.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1315, allocations: 0 / 360.9 MB, free: 11.52 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.0005493/0.1321, allocations: 391.3 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1321, allocations: 8.031 kB / 361.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.1323, allocations: 16.84 kB / 361.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1326, allocations: 196.1 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1326, allocations: 384 / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1326, allocations: 4.375 kB / 361.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1329, allocations: 113.2 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1329, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1329, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1329, allocations: 0 / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.133, allocations: 23.92 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.1334, allocations: 265.8 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.1335, allocations: 41.2 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1336, allocations: 29.66 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1336, allocations: 0 / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1337, allocations: 34.56 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1337, allocations: 0 / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002688/0.1339, allocations: 69.52 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.134, allocations: 81.11 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1342, allocations: 145.1 kB / 362.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1342, allocations: 25.7 kB / 362.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.1343, allocations: 92.33 kB / 362.4 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1343, allocations: 4 kB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1343, allocations: 21.61 kB / 362.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1345, allocations: 318.8 kB / 362.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1345, allocations: 11.98 kB / 362.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.1346, allocations: 17.72 kB / 362.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.686e-05/0.1347, allocations: 33.7 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1347, allocations: 0 / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001305/0.1348, allocations: 61.61 kB / 362.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1349, allocations: 4 kB / 362.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1349, allocations: 0 / 362.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1349, allocations: 0 / 362.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.135, allocations: 4 kB / 362.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.135, allocations: 8.062 kB / 362.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.135, allocations: 11.92 kB / 362.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.135, allocations: 3.984 kB / 362.9 MB, free: 9.266 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.1352, allocations: 121.8 kB / 363 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.1352, allocations: 33.61 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.1353, allocations: 19.81 kB / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1353, allocations: 0 / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1353, allocations: 0 / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1353, allocations: 8.031 kB / 363 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1355, allocations: 173.6 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1355, allocations: 3.938 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.1356, allocations: 4 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1356, allocations: 4 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1356, allocations: 0 / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1356, allocations: 3.984 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1356, allocations: 3.938 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1358, allocations: 164.2 kB / 363.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.1359, allocations: 89 kB / 363.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1359, allocations: 0 / 363.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.136, allocations: 4 kB / 363.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.136, allocations: 3.984 kB / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.136, allocations: 0 / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.822e-05/0.1361, allocations: 115.2 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1362, allocations: 0 / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1364, allocations: 12.02 kB / 363.6 MB, free: 8.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.1365, allocations: 95.25 kB / 363.7 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1367, allocations: 19.98 kB / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1367, allocations: 0 / 363.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.1367, allocations: 8 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1372, allocations: 24.14 kB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.1376, allocations: 185.2 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1379, allocations: 0.6923 MB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.138, allocations: 7.438 kB / 364.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.138, allocations: 4 kB / 364.6 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Templates: time 0.002423/0.1404, allocations: 0.7395 MB / 365.4 MB, free: 6.574 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches