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.0009241/0.0009241, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002296, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007455/0.0007455, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001826, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.067/1.067, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.172, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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 2.805e-06/2.805e-06, allocations: 4 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.245e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002528/0.002551, allocations: 1.03 MB / 245.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003067/0.002858, allocations: 132.1 kB / 245.9 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.002941, allocations: 4 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.002988, allocations: 7.922 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.003064, allocations: 3.938 kB / 245.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.003255, allocations: 39.83 kB / 245.9 MB, free: 13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.003365, allocations: 43.86 kB / 246 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.003456, allocations: 16.17 kB / 246 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.00353, allocations: 31.91 kB / 246 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.003581, allocations: 15.92 kB / 246 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.003607, allocations: 4 kB / 246 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.003619, allocations: 4 kB / 246 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.003665, allocations: 11.94 kB / 246.1 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.003694, allocations: 11.94 kB / 246.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003812, allocations: 39.77 kB / 246.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.003823, allocations: 4 kB / 246.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003824, allocations: 4 kB / 246.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.003833, allocations: 0 / 246.1 MB, free: 12.82 MB / 250.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.0003995/0.004233, allocations: 284.3 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.004267, allocations: 8.031 kB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.004306, allocations: 12.92 kB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.004487, allocations: 137.6 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.004497, allocations: 4.375 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.00451, allocations: 4.375 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.004686, allocations: 107.8 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004694, allocations: 192 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.0047, allocations: 384 / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004707, allocations: 4.125 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.004727, allocations: 8 kB / 246.7 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.472e-05/0.004802, allocations: 60.98 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.004912, allocations: 54.47 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.004946, allocations: 20.86 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.004953, allocations: 4 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.004978, allocations: 38.72 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.004979, allocations: 0 / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001282/0.005107, allocations: 65.88 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.005153, allocations: 63.34 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.005242, allocations: 129 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005254, allocations: 25.7 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.005279, allocations: 84.14 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.005291, allocations: 3.953 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.005324, allocations: 21.7 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.005412, allocations: 322.8 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-06/0.005418, allocations: 4 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.005423, allocations: 3.938 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.005445, allocations: 8.859 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005448, allocations: 0 / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.818e-05/0.005506, allocations: 41.62 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.005519, allocations: 4 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005523, allocations: 0 / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.005536, allocations: 0 / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.005573, allocations: 4.094 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005576, allocations: 4 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.005591, allocations: 4 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.005596, allocations: 3.938 kB / 247.6 MB, free: 11.15 MB / 250.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 6.747e-05/0.005664, allocations: 108.7 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.005722, allocations: 61.66 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.005757, allocations: 8.781 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.005761, allocations: 7.984 kB / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005763, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005766, allocations: 0 / 247.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.614e-05/0.005832, allocations: 73.83 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005834, allocations: 4 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.005894, allocations: 19.92 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.00593, allocations: 19.89 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.005933, allocations: 4 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.005938, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.00594, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.005941, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.254e-05/0.005993, allocations: 61.08 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.006013, allocations: 4 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.006032, allocations: 4 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.006034, allocations: 0 / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.006039, allocations: 4 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.068e-05/0.00607, allocations: 22.25 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00607, allocations: 0 / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.006226, allocations: 11.94 kB / 248 MB, free: 10.69 MB / 250.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 8.459e-05/0.006311, allocations: 80.36 kB / 248.1 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.006386, allocations: 28.77 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.006391, allocations: 4 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.006392, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.006613, allocations: 100.7 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.006864, allocations: 168.4 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.443e-05/0.006908, allocations: 67.28 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.006924, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.006988, allocations: 63.34 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006988, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Templates: time 0.002757/0.009745, allocations: 0.6766 MB / 249.2 MB, free: 9.461 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.645025396719575]