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.001138/0.001138, allocations: 97.94 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 203.4 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 4 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002662/0.1226, allocations: 1.254 MB / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1239, allocations: 0.503 MB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1241, allocations: 7.938 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.1241, allocations: 3.984 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1243, allocations: 7.938 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.1247, allocations: 47.88 kB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1248, allocations: 31.84 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.125, allocations: 19.97 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1251, allocations: 23.86 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1252, allocations: 19.86 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1252, allocations: 0 / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.1253, allocations: 4 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.1254, allocations: 15.98 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1254, allocations: 37.64 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1255, allocations: 35.92 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1256, allocations: 4 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1256, allocations: 0 / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1256, allocations: 0 / 360.1 MB, free: 11.9 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.000606/0.1262, allocations: 367.3 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1263, allocations: 8.031 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1265, allocations: 23.89 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.1268, allocations: 189.3 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.1268, allocations: 11.89 kB / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1269, allocations: 0 / 360.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1273, allocations: 113 kB / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1273, allocations: 0 / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1274, allocations: 0 / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1274, allocations: 0 / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1275, allocations: 19.98 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1281, allocations: 269.7 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1283, allocations: 49.19 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1283, allocations: 0 / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1283, allocations: 34.5 kB / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.1284, allocations: 0 / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004359/0.1288, allocations: 81.58 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.1289, allocations: 81.11 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1291, allocations: 134.2 kB / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1292, allocations: 25.7 kB / 361.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1293, allocations: 96.31 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1293, allocations: 4 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1293, allocations: 0 / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1295, allocations: 318.8 kB / 361.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.1296, allocations: 11.98 kB / 361.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.1297, allocations: 21.72 kB / 361.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.1297, allocations: 12.05 kB / 361.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1298, allocations: 4 kB / 361.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.13, allocations: 61.53 kB / 362 MB, free: 9.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.13, allocations: 4 kB / 362 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.13, allocations: 3.938 kB / 362 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.1301, allocations: 0 / 362 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1302, allocations: 16.05 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1302, allocations: 0 / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.1303, allocations: 4 kB / 362 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1303, allocations: 4 kB / 362 MB, free: 9.719 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 0.0002012/0.1305, allocations: 121.2 kB / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1306, allocations: 45.53 kB / 362.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.1307, allocations: 15.83 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1307, allocations: 4.031 kB / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1308, allocations: 3.938 kB / 362.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1308, allocations: 0 / 362.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.1312, allocations: 169.6 kB / 362.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1312, allocations: 4 kB / 362.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1313, allocations: 7.984 kB / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1313, allocations: 4 kB / 362.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1313, allocations: 0 / 362.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.1317, allocations: 181.9 kB / 362.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.1318, allocations: 89 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1319, allocations: 8 kB / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.132, allocations: 4.031 kB / 362.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1321, allocations: 4 kB / 362.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1321, allocations: 0 / 362.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1322, allocations: 107.2 kB / 362.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1322, allocations: 0 / 362.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.1326, allocations: 4 kB / 362.8 MB, free: 8.852 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.0001474/0.1328, allocations: 99.2 kB / 362.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.133, allocations: 31.92 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1331, allocations: 0 / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1331, allocations: 11.98 kB / 362.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1335, allocations: 12.03 kB / 362.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.1341, allocations: 185.7 kB / 363.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1345, allocations: 0.6887 MB / 363.8 MB, free: 7.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.1346, allocations: 7.938 kB / 363.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.1347, allocations: 7.438 kB / 363.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1347, allocations: 3.938 kB / 363.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of Templates: time 0.003907/0.1386, allocations: 472 kB / 364.3 MB, free: 7.289 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches