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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009389/0.0009389, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001013/0.001013, allocations: 164.5 kB / 24.91 MB, free: 8.734 MB / 18.57 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 0.9957/0.9957, allocations: 177 MB / 205.2 MB, free: 4.992 MB / 186.7 MB " [Timeout remaining time 179] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.51e-07/7.51e-07, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.337e-05, allocations: 9.203 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001483/0.001497, allocations: 0.9798 MB / 274.4 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.001746, allocations: 123.5 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.001798, allocations: 3.938 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.001831, allocations: 3.938 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.001916, allocations: 11.92 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002051, allocations: 35.84 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.002121, allocations: 39.91 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.063e-05/0.002182, allocations: 28.09 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.002216, allocations: 19.92 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.002247, allocations: 15.92 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002261, allocations: 4 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.00227, allocations: 4 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.0023, allocations: 19.91 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.002317, allocations: 8 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.147e-05/0.002389, allocations: 43.77 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-06/0.00239, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.00239, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.305e-06/0.002393, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 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.0002201/0.002613, allocations: 272.7 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.535e-05/0.002638, allocations: 11.98 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.00266, allocations: 16.92 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.00277, allocations: 137.5 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.002777, allocations: 8.359 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.002785, allocations: 8.375 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.002897, allocations: 103.8 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.002901, allocations: 192 / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.002907, allocations: 8.375 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.002912, allocations: 4.125 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.053e-05/0.002922, allocations: 7.938 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.75e-05/0.00297, allocations: 61.03 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.003047, allocations: 38.56 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.003071, allocations: 29 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.003076, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.003091, allocations: 38.56 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.003091, allocations: 0 / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 8.327e-05/0.003175, allocations: 69.61 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.003211, allocations: 55.36 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.003272, allocations: 133.6 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.003282, allocations: 29.7 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.137e-05/0.003303, allocations: 88.12 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.003309, allocations: 0 / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.003328, allocations: 13.72 kB / 275.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/0.003394, allocations: 318.8 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-06/0.003398, allocations: 0 / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.003403, allocations: 8 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.726e-05/0.00342, allocations: 16.78 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.003421, allocations: 0 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.169e-05/0.003453, allocations: 37.69 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.003462, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.003466, allocations: 0 / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.003474, allocations: 0 / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-05/0.003501, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.003503, allocations: 0 / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.714e-06/0.003511, allocations: 4.094 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.003516, allocations: 7.938 kB / 276.2 MB, free: 14.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.292e-05/0.003569, allocations: 112.7 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.003603, allocations: 57.86 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.003626, allocations: 12.78 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.003627, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.003628, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00363, allocations: 0 / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.618e-05/0.003676, allocations: 89.7 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.003677, allocations: 0 / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.003707, allocations: 15.98 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.003708, allocations: 4 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.003711, allocations: 0 / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.003712, allocations: 80 / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.003713, allocations: 3.984 kB / 276.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.164e-05/0.003745, allocations: 61.02 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.003768, allocations: 15.94 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.003782, allocations: 4 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.003789, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.003791, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.003794, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.003815, allocations: 28.83 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003815, allocations: 4 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.473e-05/0.0039, allocations: 8 kB / 276.6 MB, free: 13.58 MB / 266.7 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 5.235e-05/0.003952, allocations: 72.42 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.187e-05/0.003994, allocations: 20.84 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.003996, allocations: 0 / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.003996, allocations: 3.938 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.004109, allocations: 42.42 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001562/0.004265, allocations: 160.5 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.004294, allocations: 67.41 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.355e-05/0.004308, allocations: 11.98 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.004345, allocations: 51.38 kB / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004346, allocations: 0 / 277.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of Templates: time 0.002108/0.006454, allocations: 0.6776 MB / 277.7 MB, free: 12.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.759996726177633]