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.001816/0.001816, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002511/0.002511, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001572/0.001572, allocations: 43.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2253, allocations: 53.35 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002272/0.2275, allocations: 0.9548 MB / 433.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000345/0.2279, allocations: 119.6 kB / 433.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.228, allocations: 3.938 kB / 433.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/0.228, allocations: 3.938 kB / 433.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2281, allocations: 7.938 kB / 433.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.2283, allocations: 31.91 kB / 433.5 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2284, allocations: 51.83 kB / 433.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.2285, allocations: 19.84 kB / 433.5 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.2286, allocations: 19.86 kB / 433.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.2286, allocations: 23.8 kB / 433.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2286, allocations: 4 kB / 433.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.2286, allocations: 4 kB / 433.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.2287, allocations: 15.94 kB / 433.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.2287, allocations: 19.86 kB / 433.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2288, allocations: 58.69 kB / 433.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2289, allocations: 0 / 433.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2289, allocations: 0 / 433.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2289, allocations: 4 kB / 433.7 MB, free: 5.406 MB / 334.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.0004189/0.2293, allocations: 298.1 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.2293, allocations: 8.031 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.2293, allocations: 12.84 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2296, allocations: 138.3 kB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2296, allocations: 384 / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.2296, allocations: 8.312 kB / 434.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.2299, allocations: 135.8 kB / 434.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2299, allocations: 3.938 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2299, allocations: 4 kB / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2299, allocations: 0 / 434.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.2299, allocations: 15.94 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.2301, allocations: 117.2 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2302, allocations: 62.72 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.2303, allocations: 36.88 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.2303, allocations: 0 / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2303, allocations: 46.5 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.2303, allocations: 0 / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001971/0.2305, allocations: 85.58 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.2306, allocations: 59.41 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2307, allocations: 136.3 kB / 434.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.2307, allocations: 25.7 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.2308, allocations: 88.12 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.2308, allocations: 11.94 kB / 434.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2308, allocations: 17.72 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.231, allocations: 322.8 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.231, allocations: 11.94 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.2311, allocations: 62.95 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.2312, allocations: 70.94 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2312, allocations: 0 / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001391/0.2313, allocations: 97.44 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2313, allocations: 4 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2313, allocations: 7.938 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2313, allocations: 4 kB / 435.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.2314, allocations: 15.94 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2314, allocations: 0 / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.2314, allocations: 11.95 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2314, allocations: 4.25 kB / 435.6 MB, free: 3.301 MB / 334.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: 0 () * 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 9.477e-05/0.2315, allocations: 125.8 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2317, allocations: 81.56 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.2317, allocations: 16.66 kB / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2317, allocations: 0 / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2317, allocations: 0 / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2317, allocations: 0 / 435.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2318, allocations: 121.3 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2318, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.2319, allocations: 8 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2319, allocations: 0 / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2319, allocations: 8 kB / 435.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2319, allocations: 3.938 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2319, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.232, allocations: 101 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2321, allocations: 27.86 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2321, allocations: 0 / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.2321, allocations: 3.938 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-06/0.2321, allocations: 0 / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2321, allocations: 4 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.2322, allocations: 107.2 kB / 436.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2322, allocations: 0 / 436.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.2324, allocations: 12 kB / 436.2 MB, free: 2.625 MB / 334.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: 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 8.52e-05/0.2325, allocations: 95.25 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.2326, allocations: 47.84 kB / 436.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2326, allocations: 3.938 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2326, allocations: 0 / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2329, allocations: 45.55 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2332, allocations: 166 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.565e-05/0.2333, allocations: 83.31 kB / 436.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.2333, allocations: 7.953 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.2333, allocations: 15.38 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2333, allocations: 0 / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Templates: time 0.0031/0.2364, allocations: 0.7329 MB / 437.3 MB, free: 1.395 MB / 334.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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.306060338989482]