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.001496/0.001496, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 55.62 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00263/0.1355, allocations: 0.9518 MB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003873/0.1359, allocations: 111.6 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.136, allocations: 4 kB / 360 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.1361, allocations: 3.938 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.1362, allocations: 7.875 kB / 360 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1365, allocations: 43.89 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1366, allocations: 43.91 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1368, allocations: 20.17 kB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.1368, allocations: 19.86 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1369, allocations: 15.92 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1369, allocations: 4 kB / 360.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.1369, allocations: 4 kB / 360.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.137, allocations: 11.94 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.137, allocations: 35.78 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1372, allocations: 59.75 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1372, allocations: 0 / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1372, allocations: 0 / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1372, allocations: 0 / 360.2 MB, free: 12 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.00047/0.1377, allocations: 371.2 kB / 360.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1377, allocations: 8.031 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1378, allocations: 12.84 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.138, allocations: 204 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.138, allocations: 4.375 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1381, allocations: 8.375 kB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.1383, allocations: 119.9 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1384, allocations: 3.938 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1384, allocations: 0 / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1384, allocations: 4 kB / 361 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.1385, allocations: 27.91 kB / 361 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1386, allocations: 173.5 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1388, allocations: 62.72 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.1388, allocations: 44.81 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1389, allocations: 4 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1389, allocations: 38.5 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1389, allocations: 0 / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002012/0.1391, allocations: 93.67 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.1392, allocations: 59.39 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1394, allocations: 133.8 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1394, allocations: 29.7 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.1395, allocations: 88.14 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.1395, allocations: 0 / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1395, allocations: 29.7 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1396, allocations: 314.8 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.1397, allocations: 11.98 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.1397, allocations: 62.81 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.1398, allocations: 74.73 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1398, allocations: 4 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001374/0.14, allocations: 89.47 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.14, allocations: 14.75 kB / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.14, allocations: 0 / 362.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.14, allocations: 4 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.1401, allocations: 19.92 kB / 362.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1401, allocations: 4.25 kB / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.1402, allocations: 8 kB / 362.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1402, 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 9.875e-05/0.1403, allocations: 125.7 kB / 362.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.1404, allocations: 77.53 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.1404, allocations: 12.7 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1404, allocations: 0 / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1404, allocations: 4 kB / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1405, allocations: 0 / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1406, allocations: 173.5 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1406, allocations: 4 kB / 362.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1406, allocations: 15.98 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1407, allocations: 3.938 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1407, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1407, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1407, allocations: 192 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1408, allocations: 105 kB / 362.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1409, allocations: 100.9 kB / 362.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1409, allocations: 4 kB / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.1409, allocations: 0 / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-06/0.1409, allocations: 0 / 362.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.141, allocations: 7.938 kB / 362.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.141, allocations: 107.2 kB / 363 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 363 MB, free: 8.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.1412, allocations: 8 kB / 363.1 MB, free: 8.801 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.0001065/0.1414, allocations: 95.25 kB / 363.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.1415, allocations: 55.84 kB / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1415, allocations: 0 / 363.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1415, allocations: 0 / 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.0002958/0.1418, allocations: 36.02 kB / 363.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.1422, allocations: 165.4 kB / 363.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1425, allocations: 0.6978 MB / 364.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.1425, allocations: 7.953 kB / 364.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1425, allocations: 11.44 kB / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1426, allocations: 0 / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of Templates: time 0.003049/0.1456, allocations: 0.6259 MB / 364.7 MB, free: 7.055 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 gbode -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