Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.91 kB / 370.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3314, allocations: 52.18 MB / 423.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002818/0.3343, allocations: 0.992 MB / 424.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004534/0.3347, allocations: 107.7 kB / 424.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3348, allocations: 0 / 424.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.3349, allocations: 11.88 kB / 424.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3351, allocations: 15.86 kB / 424.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3354, allocations: 35.91 kB / 424.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3355, allocations: 39.91 kB / 424.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3356, allocations: 12.19 kB / 424.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.3357, allocations: 23.92 kB / 424.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.3357, allocations: 19.86 kB / 424.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.3357, allocations: 0 / 424.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.3358, allocations: 4 kB / 424.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.3358, allocations: 15.92 kB / 424.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.3359, allocations: 31.8 kB / 424.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.336, allocations: 60.89 kB / 424.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.336, allocations: 0 / 424.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.336, allocations: 0 / 424.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.336, allocations: 0 / 424.5 MB, free: 13.35 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.0005197/0.3366, allocations: 302 kB / 424.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3366, allocations: 8.031 kB / 424.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3366, allocations: 8.891 kB / 424.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3369, allocations: 145.8 kB / 424.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3369, allocations: 12.31 kB / 425 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.337, allocations: 4.375 kB / 425 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3373, allocations: 131.8 kB / 425.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3373, allocations: 3.938 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3373, allocations: 0 / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3373, allocations: 0 / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.3373, allocations: 16 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.3375, allocations: 148.7 kB / 425.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3377, allocations: 62.66 kB / 425.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.3377, allocations: 32.89 kB / 425.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3378, allocations: 4 kB / 425.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3378, allocations: 38.56 kB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3378, allocations: 0 / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002374/0.338, allocations: 93.66 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.3381, allocations: 59.34 kB / 425.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3382, allocations: 141.8 kB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3383, allocations: 29.7 kB / 425.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3383, allocations: 80.14 kB / 425.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3383, allocations: 11.89 kB / 425.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3384, allocations: 25.7 kB / 425.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3385, allocations: 318.8 kB / 426.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.3386, allocations: 7.938 kB / 426.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.3386, allocations: 62.86 kB / 426.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.3387, allocations: 74.75 kB / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3387, allocations: 0 / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.3389, allocations: 93.42 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3389, allocations: 16.19 kB / 426.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3389, allocations: 0 / 426.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3389, allocations: 4 kB / 426.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.339, allocations: 19.98 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.339, allocations: 7.938 kB / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.339, allocations: 0 / 426.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3391, allocations: 4 kB / 426.4 MB, free: 11.19 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.0001093/0.3392, allocations: 117.8 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.3393, allocations: 73.58 kB / 426.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.3393, allocations: 20.72 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3393, allocations: 0 / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3393, allocations: 0 / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.329e-06/0.3393, allocations: 3.984 kB / 426.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3395, allocations: 144.7 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3395, allocations: 0 / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.3395, allocations: 19.92 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3395, allocations: 3.938 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3395, allocations: 0 / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3395, allocations: 0 / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3395, allocations: 0 / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3397, allocations: 101.5 kB / 426.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.3397, allocations: 31.8 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3397, allocations: 4 kB / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.791e-05/0.3398, allocations: 0 / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-06/0.3398, allocations: 192 / 426.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3398, allocations: 4 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.3399, allocations: 109.9 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3401, allocations: 15.94 kB / 427 MB, free: 10.47 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.0001214/0.3402, allocations: 99.23 kB / 427.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3404, allocations: 39.92 kB / 427.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3404, allocations: 3.938 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3404, allocations: 0 / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.3407, allocations: 40.52 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.341, allocations: 173.4 kB / 427.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.3414, allocations: 0.6924 MB / 428.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3414, allocations: 11.92 kB / 428.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3415, allocations: 11.44 kB / 428.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3415, allocations: 0 / 428.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of Templates: time 0.003668/0.3451, allocations: 0.6588 MB / 428.8 MB, free: 8.688 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.77618383616209]