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.0008958/0.0008954, allocations: 96.73 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 203 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002624, allocations: 11.98 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09429, allocations: 51.51 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001138/0.09548, allocations: 0.5593 MB / 360.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003744/0.09588, allocations: 127.7 kB / 360.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.09598, allocations: 0 / 360.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.09609, allocations: 3.938 kB / 360.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.09622, allocations: 7.984 kB / 360.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.09647, allocations: 35.91 kB / 360.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.09658, allocations: 35.92 kB / 360.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.09671, allocations: 27.97 kB / 360.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.09675, allocations: 11.88 kB / 360.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.09683, allocations: 19.92 kB / 360.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.09686, allocations: 0 / 360.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.09688, allocations: 4 kB / 360.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.09694, allocations: 11.92 kB / 360.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.097, allocations: 49.5 kB / 360.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.0971, allocations: 43.8 kB / 360.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09711, allocations: 0 / 360.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09711, allocations: 0 / 360.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09712, allocations: 0 / 360.8 MB, free: 12.33 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.0004363/0.09756, allocations: 371.5 kB / 361.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.09761, allocations: 8.031 kB / 361.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.09765, allocations: 12.84 kB / 361.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.09787, allocations: 200.1 kB / 361.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.09789, allocations: 4.312 kB / 361.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.09791, allocations: 4.375 kB / 361.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.0982, allocations: 143.8 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.09822, allocations: 4.125 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.09824, allocations: 3.938 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.09825, allocations: 0 / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.09831, allocations: 23.98 kB / 361.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.09846, allocations: 169.7 kB / 361.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.09862, allocations: 78.64 kB / 361.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.0987, allocations: 48.86 kB / 361.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.09872, allocations: 4 kB / 361.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.09874, allocations: 30.56 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.09875, allocations: 0 / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002057/0.09896, allocations: 105.5 kB / 362 MB, free: 10.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.09902, allocations: 55.56 kB / 362.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.09915, allocations: 148.5 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.09917, allocations: 25.7 kB / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.09922, allocations: 96.11 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.09924, allocations: 3.938 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.09927, allocations: 17.72 kB / 362.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09939, allocations: 318.8 kB / 362.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.09942, allocations: 12 kB / 362.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.09947, allocations: 58.86 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.09956, allocations: 78.73 kB / 362.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.09957, allocations: 0 / 362.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001376/0.09972, allocations: 93.41 kB / 362.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.09974, allocations: 7.938 kB / 362.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.09975, allocations: 4.25 kB / 362.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.09977, allocations: 4 kB / 362.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.09986, allocations: 19.98 kB / 362.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.09987, allocations: 3.938 kB / 362.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.09991, allocations: 7.938 kB / 363 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.09992, allocations: 4 kB / 363 MB, free: 9.93 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 0.000102/0.1, allocations: 129.8 kB / 363.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1001, allocations: 85.52 kB / 363.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.1002, allocations: 12.72 kB / 363.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1002, allocations: 11.98 kB / 363.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1002, allocations: 0 / 363.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1002, allocations: 3.938 kB / 363.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.1003, allocations: 165.8 kB / 363.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1003, allocations: 0 / 363.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.1004, allocations: 19.92 kB / 363.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1004, allocations: 3.938 kB / 363.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1004, allocations: 4 kB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1005, allocations: 0 / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1005, allocations: 0 / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1006, allocations: 109 kB / 363.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.1007, allocations: 93 kB / 363.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1007, allocations: 15.88 kB / 363.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.1007, allocations: 4 kB / 363.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-06/0.1007, allocations: 0 / 363.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1008, allocations: 4 kB / 363.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1008, allocations: 117.8 kB / 363.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1008, allocations: 0 / 363.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1011, allocations: 12 kB / 363.7 MB, free: 9.055 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 0.0001079/0.1012, allocations: 99.25 kB / 363.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1013, allocations: 47.91 kB / 363.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1013, allocations: 0 / 363.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.1013, allocations: 0 / 363.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1016, allocations: 52.44 kB / 363.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.102, allocations: 228.8 kB / 364.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1022, allocations: 0.6926 MB / 364.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1023, allocations: 11.44 kB / 364.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1023, allocations: 0 / 364.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of Templates: time 0.002605/0.1049, allocations: 0.8745 MB / 365.7 MB, free: 6.992 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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