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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.897e-05/4.094e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.003091/0.003132, allocations: 0.8481 MB / 325.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006034/0.003735, allocations: 129.2 kB / 326 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.003823, allocations: 6.25 kB / 326 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003952, allocations: 5.531 kB / 326 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.004108, allocations: 12.44 kB / 326 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.004431, allocations: 42.3 kB / 326.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.004594, allocations: 42.08 kB / 326.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.004735, allocations: 13.05 kB / 326.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.004804, allocations: 26.03 kB / 326.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.71e-05/0.004902, allocations: 18.48 kB / 326.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.004934, allocations: 3.438 kB / 326.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.004952, allocations: 4.25 kB / 326.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.005018, allocations: 16.66 kB / 326.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.005076, allocations: 18.27 kB / 326.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.005259, allocations: 61.86 kB / 326.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.005263, allocations: 0.5156 kB / 326.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005264, allocations: 1.125 kB / 326.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.005269, allocations: 0 / 326.3 MB, free: 15.76 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.0006505/0.005919, allocations: 301.9 kB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.005972, allocations: 17.55 kB / 326.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.006028, allocations: 13.75 kB / 326.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.006333, allocations: 132.9 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.00635, allocations: 1.781 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.006373, allocations: 4.906 kB / 326.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.006872, allocations: 148 kB / 326.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.006885, allocations: 8.125 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.006899, allocations: 1.188 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006905, allocations: 1.656 kB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.007004, allocations: 27.97 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.007209, allocations: 113.9 kB / 327 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.007495, allocations: 77.64 kB / 327.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.007636, allocations: 41.05 kB / 327.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007654, allocations: 0.9688 kB / 327.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.007698, allocations: 37.05 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.0077, allocations: 0 / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003723/0.008072, allocations: 109.2 kB / 327.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.008152, allocations: 56.7 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.00837, allocations: 147.4 kB / 327.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.008396, allocations: 25.7 kB / 327.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.008472, allocations: 89 kB / 327.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.008491, allocations: 4.891 kB / 327.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.00855, allocations: 14 kB / 327.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.008764, allocations: 318.9 kB / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.008782, allocations: 2.5 kB / 327.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.008794, allocations: 6.016 kB / 327.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.008834, allocations: 16.95 kB / 327.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.008837, allocations: 0 / 327.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.008959, allocations: 49.06 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.00898, allocations: 5.766 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008985, allocations: 0 / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.009003, allocations: 1.125 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.009066, allocations: 3.5 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.009078, allocations: 3.938 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.009103, allocations: 1.062 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.009111, allocations: 4.641 kB / 328 MB, free: 14.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001567/0.009268, allocations: 122.9 kB / 328.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.009466, allocations: 77.47 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.009518, allocations: 15.88 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.009522, allocations: 2.094 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009527, allocations: 4.641 kB / 328.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.009535, allocations: 3.938 kB / 328.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.009685, allocations: 116.5 kB / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.009688, allocations: 0 / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.009803, allocations: 14.19 kB / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.009805, allocations: 0 / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.00982, allocations: 10 kB / 328.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.009822, allocations: 0 / 328.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009825, allocations: 2.016 kB / 328.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.01006, allocations: 108.9 kB / 328.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.01014, allocations: 21.58 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.01016, allocations: 1 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.01021, allocations: 5.719 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-06/0.01021, allocations: 1.5 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01022, allocations: 5.188 kB / 328.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.01036, allocations: 107.9 kB / 328.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01036, allocations: 4 kB / 328.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.01071, allocations: 9.031 kB / 328.6 MB, free: 13.68 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.0001858/0.01089, allocations: 101.4 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01105, allocations: 21.98 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01105, allocations: 1.25 kB / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.01105, allocations: 0 / 328.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.01153, allocations: 49.91 kB / 328.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.01202, allocations: 183.4 kB / 329 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.01219, allocations: 97.25 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.01221, allocations: 2.641 kB / 329.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.01224, allocations: 11.38 kB / 329.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01224, allocations: 3.938 kB / 329.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Templates: time 0.005337/0.01758, allocations: 0.6887 MB / 329.8 MB, free: 13.21 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.352878041565418]