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.0008678/0.0008678, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009668/0.0009668, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9457/0.9457, allocations: 177 MB / 205.9 MB, free: 4.461 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.352e-06/1.352e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.179e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001657/0.001679, allocations: 0.9802 MB / 275.1 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.002003, allocations: 123.5 kB / 275.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.002077, allocations: 0 / 275.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.002123, allocations: 3.938 kB / 275.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.002244, allocations: 13.31 kB / 275.2 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.002429, allocations: 35.83 kB / 275.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.002518, allocations: 39.91 kB / 275.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.002612, allocations: 16.88 kB / 275.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.002663, allocations: 31.89 kB / 275.4 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.002704, allocations: 16.55 kB / 275.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.002721, allocations: 6.469 kB / 275.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-06/0.00273, allocations: 4 kB / 275.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.002774, allocations: 11.94 kB / 275.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.002797, allocations: 7.984 kB / 275.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.756e-05/0.002895, allocations: 43.77 kB / 275.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002897, allocations: 0 / 275.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002897, allocations: 0 / 275.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002901, allocations: 1.938 kB / 275.5 MB, free: 2.961 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.0003122/0.003213, allocations: 404.3 kB / 275.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003248, allocations: 12.03 kB / 275.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.003278, allocations: 12.89 kB / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.003411, allocations: 137 kB / 276 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.003419, allocations: 5.031 kB / 276 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-06/0.003426, allocations: 4.375 kB / 276 MB, free: 2.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.00358, allocations: 125.3 kB / 276.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.003586, allocations: 192 / 276.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-06/0.003591, allocations: 384 / 276.1 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.003597, allocations: 4.125 kB / 276.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.224e-05/0.003609, allocations: 8 kB / 276.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.243e-05/0.003691, allocations: 109.2 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.003788, allocations: 59.14 kB / 276.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.003814, allocations: 31.86 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.00382, allocations: 0 / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.003839, allocations: 37.39 kB / 276.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.003839, allocations: 0 / 276.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001098/0.003949, allocations: 65.64 kB / 276.5 MB, free: 1.836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.00399, allocations: 63.34 kB / 276.5 MB, free: 1.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.004071, allocations: 189.9 kB / 276.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.004081, allocations: 25.7 kB / 276.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.004117, allocations: 138.8 kB / 276.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.004126, allocations: 0 / 276.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.004151, allocations: 23.38 kB / 276.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.004263, allocations: 0.4883 MB / 277.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.004271, allocations: 3.984 kB / 277.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.004278, allocations: 0 / 277.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.004304, allocations: 15.69 kB / 277.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004306, allocations: 0 / 277.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.215e-05/0.004368, allocations: 45.59 kB / 277.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.004382, allocations: 10.66 kB / 277.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004386, allocations: 0 / 277.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.004395, allocations: 4.094 kB / 277.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.213e-05/0.004427, allocations: 0 / 277.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.00443, allocations: 4 kB / 277.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.004447, allocations: 7.922 kB / 277.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.004454, allocations: 3.938 kB / 277.5 MB, free: 0.7539 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 7.814e-05/0.004533, allocations: 160.5 kB / 277.6 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.004591, allocations: 57.66 kB / 277.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.004626, allocations: 20.77 kB / 277.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.004628, allocations: 0 / 277.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.00463, allocations: 0 / 277.7 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.004633, allocations: 4 kB / 277.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.47e-05/0.004708, allocations: 113.1 kB / 277.8 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00471, allocations: 0 / 277.8 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.004755, allocations: 15.94 kB / 277.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004756, allocations: 0 / 277.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.004761, allocations: 0 / 277.8 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.004764, allocations: 3.984 kB / 277.8 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004764, allocations: 400 / 277.8 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.317e-05/0.004818, allocations: 76.34 kB / 277.9 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.004849, allocations: 11.94 kB / 277.9 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.004869, allocations: 8 kB / 277.9 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.004881, allocations: 4 kB / 277.9 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-06/0.004883, allocations: 0 / 277.9 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.004886, allocations: 0 / 277.9 MB, free: 224 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.00494, allocations: 139.2 kB / 278.1 MB, free: 84 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00494, allocations: 0 / 278.1 MB, free: 84 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.005104, allocations: 8 kB / 278.1 MB, free: 76 kB / 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 9.424e-05/0.005198, allocations: 99.19 kB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.005265, allocations: 27.66 kB / 278.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005266, allocations: 0 / 278.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.005267, allocations: 4.062 kB / 278.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.005495, allocations: 36.31 kB / 278.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.005704, allocations: 155.5 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.00574, allocations: 71.2 kB / 278.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.176e-05/0.005752, allocations: 0 / 278.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.005805, allocations: 78.19 kB / 278.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.005806, allocations: 0 / 278.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Templates: time 0.002311/0.008116, allocations: 0.6662 MB / 279.2 MB, free: 14.91 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","",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.742024623323232]