Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007728/0.0007729, allocations: 89.61 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008458/0.0008459, allocations: 174.1 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 7.938 kB / 301.4 MB, free: 5.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 50.41 MB / 351.8 MB, free: 3.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001967/0.1247, allocations: 1.268 MB / 353.1 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.1255, allocations: 486.8 kB / 353.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.796e-05/0.1256, allocations: 4 kB / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.1257, allocations: 3.938 kB / 353.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1259, allocations: 7.922 kB / 353.6 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1262, allocations: 50.39 kB / 353.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1263, allocations: 51.8 kB / 353.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1264, allocations: 15.95 kB / 353.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.1265, allocations: 19.91 kB / 353.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.1266, allocations: 19.86 kB / 353.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1266, allocations: 0 / 353.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.1266, allocations: 4 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1267, allocations: 8 kB / 353.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1267, allocations: 53.5 kB / 353.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1268, allocations: 55.67 kB / 353.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1269, allocations: 0 / 353.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1269, allocations: 0 / 353.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1269, allocations: 0 / 353.9 MB, free: 1.441 MB / 286.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.0004818/0.1274, allocations: 363.5 kB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1274, allocations: 8.031 kB / 354.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.1274, allocations: 8.844 kB / 354.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1277, allocations: 198.9 kB / 354.4 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1277, allocations: 4.375 kB / 354.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1277, allocations: 4.375 kB / 354.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.128, allocations: 113.3 kB / 354.5 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.128, allocations: 3.938 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-06/0.128, allocations: 8 kB / 354.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.128, allocations: 3.984 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.1281, allocations: 23.92 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1285, allocations: 261.8 kB / 354.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.1285, allocations: 45.16 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1286, allocations: 25.77 kB / 354.9 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1286, allocations: 4 kB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1287, allocations: 30.56 kB / 354.9 MB, free: 176 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1287, allocations: 4 kB / 354.9 MB, free: 172 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002462/0.1289, allocations: 73.52 kB / 355 MB, free: 92 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.129, allocations: 81.11 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1291, allocations: 134.2 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1292, allocations: 29.7 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1292, allocations: 92.38 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1292, allocations: 3.938 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1293, allocations: 9.719 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1294, allocations: 326.7 kB / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.993e-05/0.1294, allocations: 7.984 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.1295, allocations: 21.72 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.1296, allocations: 37.7 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1296, allocations: 0 / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.1297, allocations: 65.52 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1297, allocations: 12.06 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1297, allocations: 0 / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1298, allocations: 0 / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.1298, allocations: 4 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1299, allocations: 0 / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.1299, allocations: 11.98 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.1299, allocations: 4 kB / 355.8 MB, free: 15.19 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 8.57e-05/0.13, allocations: 113.8 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.1301, allocations: 49.53 kB / 356 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1301, allocations: 7.875 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1301, allocations: 0 / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1301, allocations: 4 kB / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1302, allocations: 0 / 356 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1303, allocations: 173.5 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1303, allocations: 0 / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.1304, allocations: 11.98 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1304, allocations: 0 / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1304, allocations: 0 / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1304, allocations: 8.031 kB / 356.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1304, allocations: 0 / 356.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1306, allocations: 168.2 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.1307, allocations: 89.09 kB / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1307, allocations: 0 / 356.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1308, allocations: 12.02 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.1308, allocations: 0 / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.1308, allocations: 4 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.1309, allocations: 109.8 kB / 356.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 356.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.1311, allocations: 4 kB / 356.6 MB, free: 14.35 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.0001074/0.1312, allocations: 99.19 kB / 356.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.1314, allocations: 27.98 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1314, allocations: 3.938 kB / 356.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.1314, allocations: 8 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1318, allocations: 23.89 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.1322, allocations: 189.7 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1325, allocations: 0.6887 MB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.1326, allocations: 4 kB / 357.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.1326, allocations: 7.438 kB / 357.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1326, allocations: 7.938 kB / 357.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00257/0.1352, allocations: 473.9 kB / 358.1 MB, free: 12.77 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches