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.002091/0.002091, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002752/0.002752, allocations: 209 kB / 24.48 MB, free: 3.938 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.54/1.54, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.001684/0.001684, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2751, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002429/0.2776, allocations: 0.9547 MB / 433.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.2779, allocations: 119.6 kB / 433.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.278, allocations: 3.938 kB / 433.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.2781, allocations: 3.938 kB / 433.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2782, allocations: 7.938 kB / 433.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2784, allocations: 39.89 kB / 433.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.2785, allocations: 43.84 kB / 433.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2786, allocations: 15.84 kB / 433.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.2787, allocations: 19.92 kB / 433.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.2787, allocations: 19.86 kB / 433.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2787, allocations: 4 kB / 433.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.2787, allocations: 4 kB / 433.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.2788, allocations: 11.94 kB / 433.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.2788, allocations: 23.8 kB / 433.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.2789, allocations: 66.62 kB / 433.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.279, allocations: 0 / 433.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.279, allocations: 0 / 433.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.279, allocations: 0 / 433.7 MB, free: 5.367 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.0004496/0.2794, allocations: 298.1 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2794, allocations: 8.031 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.2795, allocations: 12.84 kB / 434 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2797, allocations: 138.3 kB / 434.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2797, allocations: 8.375 kB / 434.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2798, allocations: 4.375 kB / 434.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.28, allocations: 131.8 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2801, allocations: 3.938 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2801, allocations: 0 / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2801, allocations: 0 / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.2801, allocations: 12 kB / 434.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.2803, allocations: 125.2 kB / 434.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2804, allocations: 58.7 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.2805, allocations: 36.84 kB / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2805, allocations: 0 / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2805, allocations: 38.56 kB / 434.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2805, allocations: 4 kB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001995/0.2807, allocations: 89.67 kB / 434.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.2808, allocations: 63.39 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2809, allocations: 136.3 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.2809, allocations: 25.7 kB / 434.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.281, allocations: 84.14 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.281, allocations: 11.92 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.281, allocations: 21.72 kB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2812, allocations: 318.8 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.2812, allocations: 8 kB / 435.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.2813, allocations: 62.8 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.743e-05/0.2814, allocations: 70.81 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2814, allocations: 0 / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001454/0.2815, allocations: 97.44 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2815, allocations: 11.98 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2815, allocations: 3.938 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2815, allocations: 4.188 kB / 435.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.2816, allocations: 23.88 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2816, allocations: 7.938 kB / 435.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.2817, allocations: 3.953 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2817, allocations: 4 kB / 435.6 MB, free: 3.258 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.0001129/0.2818, allocations: 130.1 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.2819, allocations: 73.58 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.2819, allocations: 16.66 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2819, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2819, allocations: 0 / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2819, allocations: 4 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.282, allocations: 109.3 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.282, allocations: 0 / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.2821, allocations: 15.98 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2821, allocations: 0 / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2821, allocations: 4 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2821, allocations: 7.938 kB / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2821, allocations: 0 / 435.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2822, allocations: 97.02 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.2823, allocations: 23.88 kB / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.2823, allocations: 0 / 436 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.2823, allocations: 7.938 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.2823, allocations: 4 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.2823, allocations: 0 / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.2824, allocations: 107.2 kB / 436.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2824, allocations: 0 / 436.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.2826, allocations: 8 kB / 436.2 MB, free: 2.594 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 0.0001028/0.2827, allocations: 102.5 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2829, allocations: 48.38 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2829, allocations: 0 / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.2829, allocations: 0 / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2832, allocations: 45.64 kB / 436.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.2835, allocations: 191.5 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.2836, allocations: 95.8 kB / 436.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.2836, allocations: 7.438 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2836, allocations: 0 / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Templates: time 0.002444/0.2861, allocations: 0.8317 MB / 437.5 MB, free: 1.227 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.921708419919014]