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) 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 56.84 kB / 306.3 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 50.54 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003381/0.1197, allocations: 1.612 MB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1208, allocations: 0.5376 MB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1209, allocations: 4 kB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.608e-05/0.121, allocations: 4 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.1211, allocations: 7.938 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1214, allocations: 51.83 kB / 359 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1216, allocations: 39.92 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1217, allocations: 20.14 kB / 359.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1218, allocations: 31.8 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.1219, allocations: 19.92 kB / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1219, allocations: 0 / 359.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.122, allocations: 4 kB / 359.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.1221, allocations: 19.92 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1221, allocations: 27.8 kB / 359.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1223, allocations: 59.73 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1223, allocations: 0 / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1223, allocations: 0 / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1223, allocations: 4 kB / 359.2 MB, free: 12.04 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.0005875/0.1229, allocations: 375.4 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1229, allocations: 8.031 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1231, allocations: 24.83 kB / 359.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1233, allocations: 196.1 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1234, allocations: 4.312 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1234, allocations: 8.312 kB / 359.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1237, allocations: 117.1 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1237, allocations: 4 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1237, allocations: 0 / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1237, allocations: 0 / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.1238, allocations: 19.98 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.1241, allocations: 261.7 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.1242, allocations: 45.28 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.1243, allocations: 21.7 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1243, allocations: 0 / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1243, allocations: 34.5 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1243, allocations: 4 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002612/0.1246, allocations: 69.61 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1247, allocations: 77.11 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1248, allocations: 144.1 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1248, allocations: 25.7 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.1249, allocations: 96.06 kB / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1249, allocations: 0 / 360.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1249, allocations: 21.62 kB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.125, allocations: 322.9 kB / 361.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1251, allocations: 8 kB / 361.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1251, allocations: 21.7 kB / 361.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.099e-05/0.1252, allocations: 33.64 kB / 361.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1252, allocations: 4.062 kB / 361.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001107/0.1253, allocations: 53.69 kB / 361.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1254, allocations: 4 kB / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1254, allocations: 0 / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1254, allocations: 0 / 361.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.1255, allocations: 15.92 kB / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1255, allocations: 0 / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.1255, allocations: 0 / 361.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1255, allocations: 4 kB / 361.2 MB, free: 9.797 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.524e-05/0.1256, allocations: 125.8 kB / 361.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.1257, allocations: 37.59 kB / 361.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.1257, allocations: 15.83 kB / 361.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1257, allocations: 3.938 kB / 361.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1258, allocations: 4 kB / 361.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1258, allocations: 3.984 kB / 361.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1259, allocations: 169.6 kB / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1259, allocations: 0 / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.126, allocations: 11.98 kB / 361.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.126, allocations: 4.031 kB / 361.6 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.126, allocations: 3.938 kB / 361.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.126, allocations: 0 / 361.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.126, allocations: 3.938 kB / 361.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1262, allocations: 160.2 kB / 361.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.1263, allocations: 93.03 kB / 361.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1263, allocations: 4 kB / 361.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.1264, allocations: 4 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1264, allocations: 0 / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.1264, allocations: 4 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.443e-05/0.1265, allocations: 107.2 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1265, allocations: 0 / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.1267, allocations: 8 kB / 362 MB, free: 8.941 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.199e-05/0.1268, allocations: 99.25 kB / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.127, allocations: 23.92 kB / 362.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.127, allocations: 0 / 362.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.127, allocations: 11.98 kB / 362.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1274, allocations: 19.95 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.1278, allocations: 177.5 kB / 362.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.128, allocations: 0.6887 MB / 363 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1281, allocations: 11.89 kB / 363 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1281, allocations: 7.438 kB / 363 MB, free: 7.844 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1281, allocations: 0 / 363 MB, free: 7.844 MB / 302.1 MB Notification: Performance of Templates: time 0.002715/0.1308, allocations: 496.5 kB / 363.5 MB, free: 7.371 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches