Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 87.67 kB / 21.44 MB, free: 3.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 154.9 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8447/0.8447, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.995e-05, allocations: 4.672 kB / 325.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001421/0.001441, allocations: 0.9783 MB / 326.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.001709, allocations: 119.5 kB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.001784, allocations: 0 / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.001828, allocations: 7.875 kB / 326.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.001957, allocations: 19.86 kB / 327 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.00214, allocations: 23.97 kB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.002232, allocations: 47.84 kB / 327 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.00233, allocations: 20.11 kB / 327 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.002371, allocations: 23.92 kB / 327.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.00241, allocations: 15.97 kB / 327.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.002432, allocations: 4 kB / 327.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.00244, allocations: 4 kB / 327.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.002487, allocations: 11.94 kB / 327.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.002517, allocations: 19.86 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.002625, allocations: 51.8 kB / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002626, allocations: 0 / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.002627, allocations: 0 / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002631, allocations: 4 kB / 327.2 MB, free: 13.96 MB / 298.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.0003341/0.002965, allocations: 297.2 kB / 327.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.002997, allocations: 8.031 kB / 327.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.003025, allocations: 12.89 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.003181, allocations: 145.5 kB / 327.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.003189, allocations: 4.375 kB / 327.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.003199, allocations: 8.375 kB / 327.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.003398, allocations: 123.9 kB / 327.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.003405, allocations: 192 / 327.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003412, allocations: 384 / 327.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.003418, allocations: 8.125 kB / 327.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.00345, allocations: 15.98 kB / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.901e-05/0.003539, allocations: 117.3 kB / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.003641, allocations: 58.66 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.00368, allocations: 32.89 kB / 328 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.003689, allocations: 11.94 kB / 328 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.003707, allocations: 34.56 kB / 328 MB, free: 12.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.31e-07/0.003707, allocations: 0 / 328 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001535/0.003861, allocations: 93.72 kB / 328.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.003901, allocations: 51.41 kB / 328.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.00398, allocations: 145.1 kB / 328.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.003991, allocations: 25.7 kB / 328.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.004021, allocations: 92.12 kB / 328.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.00403, allocations: 0 / 328.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.004054, allocations: 17.72 kB / 328.4 MB, free: 12.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.004121, allocations: 310.8 kB / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.004131, allocations: 15.98 kB / 328.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.004136, allocations: 0 / 328.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.743e-05/0.004154, allocations: 8.859 kB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004155, allocations: 0 / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.673e-05/0.004192, allocations: 49.59 kB / 328.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.004202, allocations: 4 kB / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004206, allocations: 0 / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.004215, allocations: 0 / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.004254, allocations: 4 kB / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.004259, allocations: 8.031 kB / 328.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.004269, allocations: 3.984 kB / 328.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004272, allocations: 0 / 328.8 MB, free: 12.12 MB / 298.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.583e-05/0.004328, allocations: 117.8 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.004379, allocations: 73.58 kB / 329 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.004404, allocations: 12.78 kB / 329 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004406, allocations: 0 / 329 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.004412, allocations: 7.938 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.004414, allocations: 0 / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.889e-05/0.004463, allocations: 121.2 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004464, allocations: 0 / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.004499, allocations: 16 kB / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.0045, allocations: 0 / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.004506, allocations: 0 / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.004507, allocations: 4 kB / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004507, allocations: 0 / 329.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.004577, allocations: 101.4 kB / 329.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.004608, allocations: 23.83 kB / 329.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00462, allocations: 7.984 kB / 329.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.004637, allocations: 0 / 329.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.004639, allocations: 0 / 329.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.004642, allocations: 7.922 kB / 329.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.004685, allocations: 115.1 kB / 329.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004685, allocations: 0 / 329.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001139/0.004799, allocations: 8 kB / 329.4 MB, free: 11.45 MB / 298.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 6.106e-05/0.00486, allocations: 99.25 kB / 329.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.769e-05/0.004927, allocations: 28.03 kB / 329.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.004929, allocations: 0 / 329.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.00493, allocations: 0 / 329.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.005135, allocations: 47.47 kB / 329.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.005347, allocations: 194.5 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.005396, allocations: 91 kB / 329.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.005416, allocations: 8.5 kB / 329.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005416, allocations: 0 / 329.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of Templates: time 0.00138/0.006796, allocations: 0.7717 MB / 330.7 MB, free: 10.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.061744909733534]