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.001349/0.001349, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 246.3 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.06 kB / 306.3 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1357, allocations: 50.55 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002541/0.1382, allocations: 1.001 MB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.1386, allocations: 119.7 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1387, allocations: 3.938 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.676e-05/0.1388, allocations: 0 / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1389, allocations: 7.938 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1392, allocations: 31.91 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.1393, allocations: 39.84 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1394, allocations: 24.17 kB / 358 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.426e-05/0.1394, allocations: 19.92 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.1395, allocations: 23.84 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1395, allocations: 0 / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.1395, allocations: 4 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1396, allocations: 11.94 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.1396, allocations: 23.8 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.1398, allocations: 59.8 kB / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1398, allocations: 0 / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1398, allocations: 0 / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1398, allocations: 0 / 358.2 MB, free: 12.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004461/0.1402, allocations: 379.4 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1403, allocations: 8.031 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1403, allocations: 12.84 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1405, allocations: 192.1 kB / 358.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1406, allocations: 384 / 358.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1406, allocations: 12.38 kB / 358.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1409, allocations: 127.9 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1409, allocations: 3.938 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1409, allocations: 0 / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1409, allocations: 7.938 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.141, allocations: 15.94 kB / 358.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1412, allocations: 185.5 kB / 359.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1413, allocations: 58.72 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.1414, allocations: 40.89 kB / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.1414, allocations: 0 / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1415, allocations: 34.5 kB / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1415, allocations: 0 / 359.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001983/0.1417, allocations: 97.67 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.1417, allocations: 59.41 kB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1418, allocations: 133.8 kB / 359.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1419, allocations: 29.64 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.1419, allocations: 88.14 kB / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.1419, allocations: 0 / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.142, allocations: 25.72 kB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1421, allocations: 318.8 kB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.1421, allocations: 12 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.1422, allocations: 58.8 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.271e-05/0.1422, allocations: 70.75 kB / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1423, allocations: 0 / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000126/0.1424, allocations: 97.45 kB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1424, allocations: 10.75 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1424, allocations: 4 kB / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1424, allocations: 0 / 360.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.1425, allocations: 19.94 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1425, allocations: 3.984 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.1426, allocations: 4 kB / 360.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1426, allocations: 4 kB / 360.2 MB, free: 10.56 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 9.63e-05/0.1427, allocations: 130 kB / 360.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.1428, allocations: 81.52 kB / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1428, allocations: 8.719 kB / 360.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1429, allocations: 4 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1429, allocations: 0 / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1429, allocations: 3.984 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.143, allocations: 173.5 kB / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.143, allocations: 0 / 360.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.1431, allocations: 19.92 kB / 360.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1431, allocations: 3.938 kB / 360.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1431, allocations: 8 kB / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1431, allocations: 4 kB / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1431, allocations: 0 / 360.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1432, allocations: 105 kB / 360.8 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.1433, allocations: 96.94 kB / 360.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1433, allocations: 0 / 360.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.1434, allocations: 0 / 360.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-06/0.1434, allocations: 4 kB / 360.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1434, allocations: 4 kB / 360.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.045e-05/0.1434, allocations: 107.4 kB / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1435, allocations: 0 / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1437, allocations: 15.94 kB / 361 MB, free: 9.703 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.0001183/0.1438, allocations: 95.25 kB / 361.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1439, allocations: 44.77 kB / 361.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1439, allocations: 4.062 kB / 361.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1439, allocations: 0 / 361.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1442, allocations: 40.02 kB / 361.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.1446, allocations: 179.6 kB / 361.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1449, allocations: 0.7054 MB / 362 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1449, allocations: 7.938 kB / 362.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.145, allocations: 11.44 kB / 362.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of SimCode: time 1.8e-07/0.145, allocations: 0 / 362.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of Templates: time 0.002877/0.1479, allocations: 0.5825 MB / 362.6 MB, free: 7.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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