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.001426/0.001426, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00152/0.00152, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.00153/0.00153, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00234/0.2542, allocations: 0.9525 MB / 433.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000383/0.2545, allocations: 119.6 kB / 433.4 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.2546, allocations: 3.938 kB / 433.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.2547, allocations: 7.875 kB / 433.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2548, allocations: 7.938 kB / 433.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.255, allocations: 39.89 kB / 433.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2551, allocations: 43.89 kB / 433.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2552, allocations: 15.84 kB / 433.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.2553, allocations: 19.86 kB / 433.5 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.2553, allocations: 23.92 kB / 433.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2554, allocations: 4 kB / 433.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.2554, allocations: 4 kB / 433.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.2554, allocations: 11.94 kB / 433.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.2555, allocations: 23.8 kB / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.2556, allocations: 58.69 kB / 433.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2556, allocations: 0 / 433.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2556, allocations: 0 / 433.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.2556, allocations: 0 / 433.7 MB, free: 5.434 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.0004527/0.2561, allocations: 302 kB / 434 MB, free: 5.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2561, allocations: 8.031 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.2561, allocations: 16.84 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2564, allocations: 134.4 kB / 434.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2564, allocations: 4.375 kB / 434.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2564, allocations: 8.375 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2567, allocations: 131.7 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2567, allocations: 3.938 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2567, allocations: 4 kB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2567, allocations: 0 / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.2567, allocations: 15.94 kB / 434.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2569, allocations: 121.2 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.257, allocations: 62.7 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.2571, allocations: 32.84 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2571, allocations: 0 / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2571, allocations: 42.56 kB / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.2571, allocations: 0 / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002126/0.2573, allocations: 93.73 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.2574, allocations: 59.56 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2575, allocations: 135.9 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2576, allocations: 25.7 kB / 434.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.2576, allocations: 92.11 kB / 434.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2576, allocations: 11.94 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.2577, allocations: 17.72 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2578, allocations: 322.8 kB / 435.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.2578, allocations: 4 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.2579, allocations: 66.8 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.656e-05/0.258, allocations: 74.75 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.258, allocations: 0 / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001405/0.2581, allocations: 93.62 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2581, allocations: 8 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2581, allocations: 3.938 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2582, allocations: 4 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.2582, allocations: 16 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2582, allocations: 7.938 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.2583, allocations: 3.953 kB / 435.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2583, allocations: 4 kB / 435.5 MB, free: 3.32 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 0.0001059/0.2584, allocations: 125.8 kB / 435.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.2585, allocations: 69.64 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.2585, allocations: 24.72 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2585, allocations: 3.938 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2585, allocations: 0 / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2585, allocations: 4 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.685e-05/0.2586, allocations: 113.3 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2586, allocations: 3.984 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.2587, allocations: 11.94 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2587, allocations: 4 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.2587, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2587, allocations: 3.938 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2587, allocations: 0 / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2588, allocations: 101.1 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.2589, allocations: 23.88 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2589, allocations: 0 / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.2589, allocations: 3.938 kB / 436 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-06/0.2589, allocations: 7.938 kB / 436 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2589, allocations: 0 / 436 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.321e-05/0.259, allocations: 109.4 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.259, allocations: 0 / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.2592, allocations: 12 kB / 436.2 MB, free: 2.645 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 9.478e-05/0.2593, allocations: 95.25 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.2594, allocations: 43.91 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2594, allocations: 4 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2594, allocations: 0 / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2597, allocations: 54.45 kB / 436.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.26, allocations: 187.2 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.492e-05/0.2601, allocations: 79.81 kB / 436.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.2602, allocations: 15.44 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2602, allocations: 0 / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of Templates: time 0.002373/0.2625, allocations: 0.8206 MB / 437.4 MB, free: 1.293 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 -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: 6.833327295957133]