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.001118/0.001118, allocations: 119.9 kB / 18.42 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.001271, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.39 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003037/0.1271, allocations: 1.559 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1282, allocations: 0.5726 MB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.1283, allocations: 4 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.392e-05/0.1284, allocations: 7.922 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1286, allocations: 7.875 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.129, allocations: 63.8 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1291, allocations: 43.86 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1293, allocations: 28.14 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1294, allocations: 27.8 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.1294, allocations: 19.92 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1295, allocations: 0 / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.1295, allocations: 12 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.1296, allocations: 19.91 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1296, allocations: 19.81 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1298, allocations: 63.73 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1298, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1298, allocations: 8 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1298, allocations: 0 / 361.4 MB, free: 10.88 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.0005307/0.1303, allocations: 375.1 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1304, allocations: 19.91 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1306, allocations: 16.83 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.1308, allocations: 192.2 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1308, allocations: 8.312 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1309, allocations: 8.359 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1312, allocations: 109.2 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1312, allocations: 4 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1312, allocations: 0 / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1312, allocations: 0 / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.1313, allocations: 19.98 kB / 362.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.1317, allocations: 261.7 kB / 362.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.1318, allocations: 49.2 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1318, allocations: 25.78 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1318, allocations: 0 / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1319, allocations: 38.48 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1319, allocations: 0 / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002442/0.1321, allocations: 61.59 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1322, allocations: 89.28 kB / 362.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1324, allocations: 144.2 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1324, allocations: 25.7 kB / 362.8 MB, free: 9.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1324, allocations: 92.06 kB / 362.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.1325, allocations: 0 / 362.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1325, allocations: 21.62 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1326, allocations: 318.8 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.1327, allocations: 11.98 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.1327, allocations: 17.72 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.1328, allocations: 33.64 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1328, allocations: 0 / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.1329, allocations: 53.67 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1329, allocations: 12.12 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.133, allocations: 7.938 kB / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.133, allocations: 0 / 363.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.133, allocations: 4 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1331, allocations: 3.938 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.1331, allocations: 7.984 kB / 363.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1331, allocations: 0 / 363.3 MB, free: 8.625 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.775e-05/0.1332, allocations: 121.7 kB / 363.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.1333, allocations: 37.61 kB / 363.5 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1333, allocations: 23.84 kB / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1333, allocations: 0 / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1333, allocations: 0 / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1334, allocations: 0 / 363.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.1335, allocations: 177.5 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1335, allocations: 0 / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.1336, allocations: 4 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1336, allocations: 3.984 kB / 363.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1336, allocations: 4 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1336, allocations: 0 / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1336, allocations: 4 kB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.1338, allocations: 164.2 kB / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1339, allocations: 89 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1339, allocations: 0 / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.134, allocations: 7.984 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.134, allocations: 4.016 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.134, allocations: 4 kB / 364 MB, free: 7.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.899e-05/0.1341, allocations: 118.3 kB / 364.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1341, allocations: 0 / 364.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1343, allocations: 4 kB / 364.1 MB, free: 7.77 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 9.518e-05/0.1344, allocations: 95.25 kB / 364.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.1346, allocations: 23.92 kB / 364.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1346, allocations: 4.125 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.1346, allocations: 7.984 kB / 364.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.135, allocations: 19.97 kB / 364.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.1353, allocations: 159.4 kB / 364.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1357, allocations: 0.6923 MB / 365.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.178e-05/0.1357, allocations: 8.156 kB / 365.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1358, allocations: 11.38 kB / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1358, allocations: 0 / 365.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of Templates: time 0.002963/0.1387, allocations: 0.5178 MB / 365.6 MB, free: 6.18 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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