Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.23 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003215/0.1303, allocations: 0.9354 MB / 359.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000438/0.1308, allocations: 115.6 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.1309, allocations: 4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.131, allocations: 3.938 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1311, allocations: 7.875 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1314, allocations: 39.95 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.1315, allocations: 39.86 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1317, allocations: 28.14 kB / 360.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.1317, allocations: 23.84 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.1318, allocations: 23.86 kB / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.1318, allocations: 7.938 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1319, allocations: 4 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.1319, allocations: 11.94 kB / 360.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.132, allocations: 27.8 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1321, allocations: 59.73 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1321, allocations: 0 / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1321, allocations: 0 / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1321, allocations: 0 / 360.2 MB, free: 11.99 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004472/0.1326, allocations: 379.2 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1326, allocations: 12.03 kB / 360.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.1327, allocations: 8.844 kB / 360.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.133, allocations: 196.1 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.133, allocations: 384 / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1331, allocations: 4.375 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1333, allocations: 131.8 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1333, allocations: 3.938 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1334, allocations: 4 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1334, allocations: 4 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.1334, allocations: 19.92 kB / 361 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1336, allocations: 173.5 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1338, allocations: 66.72 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.1338, allocations: 37.05 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1339, allocations: 0 / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1339, allocations: 42.55 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.1339, allocations: 3.938 kB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001914/0.1341, allocations: 89.53 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1342, allocations: 59.41 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1343, allocations: 136.8 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1343, allocations: 25.7 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.1344, allocations: 88.14 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1344, allocations: 4 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1344, allocations: 25.7 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1346, allocations: 314.8 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.1346, allocations: 11.98 kB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.1347, allocations: 62.81 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/0.1347, allocations: 78.73 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1347, allocations: 192 / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001231/0.1349, allocations: 89.66 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1349, allocations: 11.88 kB / 362.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1349, allocations: 4 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1349, allocations: 0 / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.135, allocations: 23.92 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.135, allocations: 0 / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.1351, allocations: 11.94 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1351, allocations: 4 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.928e-05/0.1352, allocations: 117.8 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.1353, allocations: 85.53 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.1353, allocations: 8.719 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1353, allocations: 4 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1354, allocations: 3.984 kB / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1354, allocations: 0 / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1355, allocations: 173.5 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1355, allocations: 0 / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.1355, allocations: 19.98 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1355, allocations: 3.938 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1356, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1356, allocations: 4 kB / 362.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1356, allocations: 4 kB / 362.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1357, allocations: 109.3 kB / 362.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.1358, allocations: 92.94 kB / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1358, allocations: 4 kB / 362.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.1358, allocations: 0 / 362.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-06/0.1358, allocations: 7.984 kB / 362.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1358, allocations: 0 / 362.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.1359, allocations: 111.2 kB / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1359, allocations: 0 / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.1361, allocations: 8 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001107/0.1362, allocations: 99.25 kB / 363.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1363, allocations: 43.86 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1364, allocations: 0 / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1364, allocations: 0.5 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1367, allocations: 46.67 kB / 363.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.137, allocations: 161 kB / 363.4 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1373, allocations: 0.7012 MB / 364.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.1373, allocations: 7.953 kB / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1374, allocations: 11.44 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1374, allocations: 3.938 kB / 364.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of Templates: time 0.003198/0.1406, allocations: 0.6082 MB / 364.7 MB, free: 7.059 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches