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.001863/0.001863, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002031/0.002031, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.574/1.574, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.545e-06/2.545e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.157e-05/4.411e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003892/0.003936, allocations: 0.9592 MB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005776/0.004514, allocations: 119.5 kB / 273.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.004601, allocations: 0 / 273.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.639e-05/0.004697, allocations: 11.86 kB / 273.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004858, allocations: 7.938 kB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.005186, allocations: 39.89 kB / 273.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.005342, allocations: 39.84 kB / 273.4 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.005472, allocations: 20.17 kB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.005561, allocations: 23.92 kB / 273.4 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.005618, allocations: 7.984 kB / 273.4 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.005647, allocations: 4 kB / 273.4 MB, free: 0.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.005666, allocations: 4 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.005738, allocations: 19.91 kB / 273.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.005786, allocations: 11.94 kB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.005975, allocations: 59.73 kB / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.00598, allocations: 0 / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005981, allocations: 0 / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005986, allocations: 4 kB / 273.5 MB, free: 456 kB / 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.0007246/0.006711, allocations: 407.9 kB / 273.9 MB, free: 12 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.006766, allocations: 11.98 kB / 273.9 MB, free: 0 / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.006867, allocations: 16.94 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.00719, allocations: 140.3 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.007218, allocations: 12.31 kB / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.007237, allocations: 4.375 kB / 274.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.007682, allocations: 125.5 kB / 274.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.007695, allocations: 192 / 274.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.007715, allocations: 8.359 kB / 274.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.007727, allocations: 8.125 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.007806, allocations: 19.97 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.008045, allocations: 132.6 kB / 274.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.008307, allocations: 71.14 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.008434, allocations: 43.66 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.008455, allocations: 4 kB / 274.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.008501, allocations: 37.39 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.552e-06/0.008503, allocations: 0 / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003537/0.008856, allocations: 93.58 kB / 274.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.008938, allocations: 51.41 kB / 274.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.00922, allocations: 208.6 kB / 274.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.00925, allocations: 25.7 kB / 274.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.009373, allocations: 134.9 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.009388, allocations: 0 / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.009448, allocations: 23.38 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004065/0.009855, allocations: 0.4884 MB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.00988, allocations: 3.984 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.009895, allocations: 8 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/0.009946, allocations: 15.69 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.00995, allocations: 0 / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.01007, allocations: 45.59 kB / 275.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.01009, allocations: 4 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.0101, allocations: 4 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01011, allocations: 0 / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.01017, allocations: 0 / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.01019, allocations: 11.92 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.01021, allocations: 4.094 kB / 275.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.01022, allocations: 0 / 275.7 MB, free: 14.11 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 0.0001844/0.0104, allocations: 160.6 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.0106, allocations: 82.03 kB / 275.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.01066, allocations: 8.781 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01066, allocations: 0 / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01066, allocations: 4 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01067, allocations: 3.938 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.01087, allocations: 128.6 kB / 276 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01087, allocations: 4 kB / 276 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01099, allocations: 15.98 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01099, allocations: 0 / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.01101, allocations: 4 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01101, allocations: 0 / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01101, allocations: 3.938 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.01136, allocations: 120.3 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.01143, allocations: 23.83 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.01145, allocations: 4 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.01148, allocations: 4 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-06/0.01149, allocations: 0 / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.01149, allocations: 0 / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.01165, allocations: 151.2 kB / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01165, allocations: 0 / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.01199, allocations: 7.938 kB / 276.4 MB, free: 13.32 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 0.0001809/0.01217, allocations: 99.23 kB / 276.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.01232, allocations: 27.69 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01232, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.01232, allocations: 0 / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.01282, allocations: 50.17 kB / 276.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.01333, allocations: 183.4 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.01347, allocations: 87.25 kB / 276.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.01349, allocations: 0 / 276.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.01354, allocations: 12.5 kB / 276.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01354, allocations: 0 / 276.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of Templates: time 0.00352/0.01706, allocations: 0.6219 MB / 277.4 MB, free: 12.2 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] 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.640916611067951]