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.001671/0.001671, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001952/0.001952, allocations: 156.9 kB / 24.27 MB, free: 172 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.515/1.515, allocations: 177 MB / 204.4 MB, free: 5.637 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 1.974e-06/1.974e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.444e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002882/0.002916, allocations: 0.9527 MB / 273.2 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.003377, allocations: 111.5 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.003475, allocations: 8 kB / 273.3 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.928e-05/0.003555, allocations: 7.875 kB / 273.3 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.003704, allocations: 11.92 kB / 273.3 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.003959, allocations: 31.91 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.004097, allocations: 43.84 kB / 273.4 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004214, allocations: 16.16 kB / 273.4 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.00429, allocations: 23.92 kB / 273.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.004335, allocations: 7.984 kB / 273.4 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.00436, allocations: 4 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.004377, allocations: 4 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.004446, allocations: 23.92 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.004505, allocations: 11.92 kB / 273.5 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004667, allocations: 59.73 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00467, allocations: 0 / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004671, allocations: 0 / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.004677, allocations: 0 / 273.5 MB, free: 488 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.0005372/0.005214, allocations: 305.9 kB / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.00526, allocations: 11.98 kB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.005316, allocations: 12.89 kB / 273.9 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.005629, allocations: 145.5 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.005645, allocations: 8.312 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.005658, allocations: 4.375 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.005961, allocations: 127.8 kB / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.005968, allocations: 192 / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.005976, allocations: 384 / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.005983, allocations: 4.125 kB / 274.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.006028, allocations: 19.98 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.006199, allocations: 117.3 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.006358, allocations: 66.59 kB / 274.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.258e-05/0.006451, allocations: 41.03 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.006461, allocations: 0 / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.006504, allocations: 34.56 kB / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.006505, allocations: 0 / 274.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002384/0.006743, allocations: 89.58 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.006813, allocations: 55.41 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.006967, allocations: 144.6 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.00699, allocations: 29.7 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.007059, allocations: 88.14 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.007069, allocations: 0 / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.007105, allocations: 13.72 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.007278, allocations: 314.8 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.007294, allocations: 7.984 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.007318, allocations: 4 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.007348, allocations: 12.86 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00735, allocations: 0 / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.831e-05/0.007438, allocations: 49.69 kB / 275.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.007453, allocations: 8 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007457, allocations: 0 / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.007471, allocations: 0 / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.007517, allocations: 4 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.007526, allocations: 7.922 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.007541, allocations: 0 / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.007545, allocations: 0 / 275.2 MB, free: 14.61 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.0001194/0.007665, allocations: 117.8 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.007784, allocations: 73.89 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.007821, allocations: 12.78 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007823, allocations: 4 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.007829, allocations: 3.938 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007832, allocations: 4 kB / 275.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.007961, allocations: 117.3 kB / 275.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007963, allocations: 0 / 275.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.008026, allocations: 12 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.008028, allocations: 0 / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.008035, allocations: 0 / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008037, allocations: 3.938 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008038, allocations: 0 / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.008241, allocations: 121 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.008288, allocations: 23.84 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.008308, allocations: 4 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.008328, allocations: 0 / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-06/0.008334, allocations: 3.984 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.008345, allocations: 7.984 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.00845, allocations: 107.2 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00845, allocations: 0 / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.008631, allocations: 4 kB / 275.8 MB, free: 13.94 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.0001456/0.008776, allocations: 95.25 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.00888, allocations: 27.98 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.008882, allocations: 0 / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.008883, allocations: 0 / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.009228, allocations: 41.14 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.009591, allocations: 181.6 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/0.009687, allocations: 79.27 kB / 276.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.083e-05/0.009708, allocations: 7.984 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.009741, allocations: 8.5 kB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009742, allocations: 4.062 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003681/0.01342, allocations: 0.6216 MB / 276.9 MB, free: 12.84 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=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.568513348000124]