Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007776/0.0007776, allocations: 92.52 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009051/0.0009051, allocations: 204.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.117/1.117, allocations: 227.7 MB / 246.8 MB, free: 9.711 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001822/0.0001822, allocations: 8 kB / 307.7 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07305/0.07325, allocations: 51.52 MB / 359.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.0008945/0.07418, allocations: 0.5549 MB / 359.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.07444, allocations: 115.7 kB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.07451, allocations: 4 kB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.641e-05/0.07459, allocations: 7.922 kB / 359.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.07468, allocations: 8 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.07484, allocations: 27.91 kB / 360 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.07492, allocations: 43.92 kB / 360 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.07502, allocations: 31.94 kB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.07505, allocations: 11.88 kB / 360 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.07511, allocations: 15.92 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.07513, allocations: 0 / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.07514, allocations: 7.938 kB / 360.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.07519, allocations: 19.92 kB / 360.1 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.07523, allocations: 45.52 kB / 360.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.017e-05/0.07531, allocations: 51.72 kB / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.07532, allocations: 0 / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.07532, allocations: 0 / 360.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.07533, allocations: 4 kB / 360.2 MB, free: 12.17 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.0003258/0.07566, allocations: 371.4 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.07569, allocations: 8.031 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.07573, allocations: 12.84 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.07588, allocations: 196.1 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.0759, allocations: 4.375 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.07591, allocations: 384 / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.07614, allocations: 143.7 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.07615, allocations: 192 / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.07617, allocations: 7.938 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.07618, allocations: 11.94 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.07623, allocations: 27.97 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.07635, allocations: 169.6 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.07647, allocations: 74.69 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.07654, allocations: 44.84 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.07655, allocations: 0 / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.07658, allocations: 34.56 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 8.12e-07/0.07658, allocations: 0 / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001594/0.07675, allocations: 105.5 kB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.0768, allocations: 59.34 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.0769, allocations: 148.7 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.07692, allocations: 25.7 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.07695, allocations: 88.14 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.07698, allocations: 8 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.077, allocations: 17.7 kB / 361.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.07709, allocations: 318.8 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.07711, allocations: 11.98 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.07716, allocations: 58.86 kB / 362.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.07724, allocations: 70.75 kB / 362.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.07724, allocations: 4 kB / 362.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001065/0.07736, allocations: 97.58 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.07737, allocations: 7.938 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.07738, allocations: 7.938 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.0774, allocations: 4 kB / 362.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.07746, allocations: 12 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.07747, allocations: 256 / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.0775, allocations: 15.92 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.07752, allocations: 4 kB / 362.3 MB, free: 9.77 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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 7.677e-05/0.0776, allocations: 129.7 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.07769, allocations: 89.66 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.07772, allocations: 20.66 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.07773, allocations: 0 / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.07774, allocations: 0 / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.07774, allocations: 0 / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.07783, allocations: 177.6 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.07784, allocations: 0 / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.0779, allocations: 11.94 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.07791, allocations: 7.938 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.07792, allocations: 0 / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.07793, allocations: 0 / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.07793, allocations: 0 / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.07804, allocations: 105 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.0781, allocations: 97 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.07812, allocations: 7.938 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.07815, allocations: 7.984 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.07815, allocations: 3.984 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.07816, allocations: 8 kB / 363 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.07822, allocations: 110 kB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07823, allocations: 0 / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001745/0.0784, allocations: 8 kB / 363.1 MB, free: 8.902 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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 7.801e-05/0.07849, allocations: 111.2 kB / 363.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.07858, allocations: 43.92 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.07859, allocations: 0 / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.07859, allocations: 0 / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.07883, allocations: 54.53 kB / 363.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.07907, allocations: 199.5 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.07928, allocations: 0.7004 MB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.151e-05/0.07931, allocations: 8.656 kB / 364.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.07933, allocations: 11.44 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.07933, allocations: 0 / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of Templates: time 0.002095/0.08143, allocations: 0.6307 MB / 364.8 MB, free: 7.082 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches