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.001308/0.001308, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009042/0.0009042, allocations: 172.3 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.8992/0.8992, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.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 1.353e-06/1.353e-06, allocations: 3.938 kB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.555e-05, allocations: 5.266 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001612/0.001628, allocations: 0.9836 MB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.001933, allocations: 119.5 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.002011, allocations: 0 / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.002062, allocations: 11.88 kB / 274.6 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.00219, allocations: 7.984 kB / 274.6 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.002349, allocations: 35.84 kB / 274.6 MB, free: 12 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.002437, allocations: 39.98 kB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.002504, allocations: 24.02 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.002545, allocations: 23.92 kB / 274.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.002582, allocations: 11.92 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.0026, allocations: 4 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.002608, allocations: 4 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.002646, allocations: 19.91 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.002666, allocations: 12 kB / 274.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.002769, allocations: 51.69 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.00277, allocations: 0 / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002771, allocations: 0 / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.002774, allocations: 0 / 274.8 MB, free: 15.82 MB / 266.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.0002387/0.003013, allocations: 272.7 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.003039, allocations: 8.031 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.003067, allocations: 12.92 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.00318, allocations: 137.6 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.00319, allocations: 16.31 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.003201, allocations: 4.375 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.00336, allocations: 103.7 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.003367, allocations: 192 / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.003373, allocations: 384 / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.00338, allocations: 8.125 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.003398, allocations: 4 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.802e-05/0.003456, allocations: 61.03 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.003541, allocations: 54.48 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.003563, allocations: 21 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.00357, allocations: 4 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.003587, allocations: 30.56 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.003588, allocations: 0 / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 9.177e-05/0.00368, allocations: 61.67 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.003723, allocations: 63.3 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.003786, allocations: 134.7 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.003795, allocations: 25.7 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.003817, allocations: 88.12 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/0.003827, allocations: 4 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.003848, allocations: 9.719 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.00392, allocations: 322.8 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.003925, allocations: 0 / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-06/0.003932, allocations: 4 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.931e-05/0.003951, allocations: 8.859 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003953, allocations: 4 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.956e-05/0.003993, allocations: 37.62 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004003, allocations: 9.812 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.004007, allocations: 4 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.004015, allocations: 0 / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.761e-05/0.004042, allocations: 4 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.004044, allocations: 0 / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.004053, allocations: 0 / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.004057, allocations: 3.938 kB / 276.3 MB, free: 14.17 MB / 266.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 4.956e-05/0.004106, allocations: 120.6 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.004139, allocations: 53.67 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.004163, allocations: 12.78 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.004164, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.004166, allocations: 7.984 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004169, allocations: 0 / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.481e-05/0.004213, allocations: 85.7 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004214, allocations: 0 / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.004247, allocations: 19.92 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.004248, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.004252, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004253, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004253, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.278e-05/0.004286, allocations: 61.08 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.00431, allocations: 11.94 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.004324, allocations: 8 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.004332, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.004334, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.004337, allocations: 4 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.932e-05/0.004356, allocations: 24.83 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004356, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.004466, allocations: 4 kB / 276.7 MB, free: 13.71 MB / 266.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 7.248e-05/0.004538, allocations: 80.36 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.346e-05/0.004592, allocations: 28.84 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.004594, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.004595, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.004722, allocations: 44.14 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.004899, allocations: 153.2 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.004929, allocations: 67.34 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.004942, allocations: 7.984 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.004983, allocations: 55.36 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004983, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Templates: time 0.001828/0.006811, allocations: 0.66 MB / 277.8 MB, free: 12.58 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.556947474833578]