Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009689/0.0009689, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005678/0.005678, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8831/0.8831, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.535e-05, allocations: 6.844 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001833/0.001868, allocations: 0.9528 MB / 326.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.002193, allocations: 123.5 kB / 326.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.002287, allocations: 7.938 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.002334, allocations: 3.938 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.002481, allocations: 3.938 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.00271, allocations: 35.89 kB / 326.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.00282, allocations: 43.84 kB / 327 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.002941, allocations: 16.12 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.002994, allocations: 27.91 kB / 327 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.003039, allocations: 15.97 kB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.003067, allocations: 4 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003079, allocations: 7.938 kB / 327 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.003138, allocations: 11.94 kB / 327 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.003172, allocations: 15.92 kB / 327.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003301, allocations: 55.8 kB / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.003304, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.003306, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.003311, allocations: 0 / 327.1 MB, free: 14.06 MB / 298.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.0004149/0.003725, allocations: 301.9 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.00377, allocations: 15.98 kB / 327.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.003809, allocations: 8.891 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.004019, allocations: 137.6 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004031, allocations: 4.375 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004042, allocations: 4.375 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.004294, allocations: 127.8 kB / 327.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.004303, allocations: 8.188 kB / 327.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004313, allocations: 384 / 327.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.004321, allocations: 4.125 kB / 327.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.004357, allocations: 15.94 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.004494, allocations: 121.3 kB / 327.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.004624, allocations: 66.69 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.00467, allocations: 32.86 kB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.004681, allocations: 3.984 kB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.004705, allocations: 30.56 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.004706, allocations: 4 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001757/0.004882, allocations: 90.02 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.004941, allocations: 59.48 kB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.005045, allocations: 137 kB / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005057, allocations: 29.7 kB / 328.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.005097, allocations: 84.14 kB / 328.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.005113, allocations: 7.922 kB / 328.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.005139, allocations: 13.72 kB / 328.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.005237, allocations: 318.8 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.005249, allocations: 0 / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-06/0.005257, allocations: 4 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.005282, allocations: 12.92 kB / 328.7 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.005286, allocations: 4 kB / 328.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.948e-05/0.005345, allocations: 41.64 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.005362, allocations: 4 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.005375, allocations: 3.984 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.005393, allocations: 0 / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.005461, allocations: 7.938 kB / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.005468, allocations: 3.938 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.005482, allocations: 4 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.005491, allocations: 11.97 kB / 328.8 MB, free: 12.2 MB / 298.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 7.947e-05/0.005571, allocations: 117.8 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.005627, allocations: 65.66 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.005658, allocations: 16.77 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.00566, allocations: 0 / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.005667, allocations: 3.938 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.005671, allocations: 0 / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.901e-05/0.00573, allocations: 117.2 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005731, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.005776, allocations: 15.92 kB / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.00578, allocations: 8 kB / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.005788, allocations: 4 kB / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00579, allocations: 3.938 kB / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005791, allocations: 0 / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.005878, allocations: 97.02 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.005917, allocations: 27.88 kB / 329.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.00593, allocations: 0 / 329.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-06/0.00594, allocations: 4 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-06/0.005944, allocations: 0 / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.005949, allocations: 8 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.006002, allocations: 107.2 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006002, allocations: 4 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001168/0.006119, allocations: 8 kB / 329.4 MB, free: 11.54 MB / 298.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 0.0001054/0.006224, allocations: 95.25 kB / 329.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.006334, allocations: 27.91 kB / 329.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006336, allocations: 0 / 329.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.006336, allocations: 0 / 329.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.00661, allocations: 46.56 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.006886, allocations: 190.4 kB / 329.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.006955, allocations: 91.08 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.006981, allocations: 8.5 kB / 329.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.006983, allocations: 0 / 329.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of Templates: time 0.002078/0.00906, allocations: 0.7771 MB / 330.6 MB, free: 10.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.197188789956272]