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.001041/0.001041, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.001193/0.001193, allocations: 160.5 kB / 24.56 MB, free: 20 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.088/1.088, allocations: 177 MB / 204.8 MB, free: 5.586 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 2.224e-06/2.224e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.492e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002194/0.002229, allocations: 0.9836 MB / 273.9 MB, free: 472 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.002633, allocations: 123.5 kB / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.002723, allocations: 7.938 kB / 274 MB, free: 340 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/0.002784, allocations: 3.938 kB / 274 MB, free: 336 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.002943, allocations: 11.92 kB / 274.1 MB, free: 324 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.003183, allocations: 31.91 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003298, allocations: 51.83 kB / 274.1 MB, free: 240 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.003427, allocations: 16.11 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.003484, allocations: 23.92 kB / 274.2 MB, free: 196 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.003531, allocations: 11.98 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.003555, allocations: 4 kB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.003568, allocations: 7.938 kB / 274.2 MB, free: 172 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.003686, allocations: 11.98 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.003737, allocations: 15.92 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.003882, allocations: 35.83 kB / 274.3 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003885, allocations: 0 / 274.3 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.003886, allocations: 4 kB / 274.3 MB, free: 104 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.003891, allocations: 4 kB / 274.3 MB, free: 100 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.0004275/0.004319, allocations: 400.3 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.004368, allocations: 11.98 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.004414, allocations: 20.84 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.004603, allocations: 136.4 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.004614, allocations: 4.375 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004627, allocations: 8.359 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.004845, allocations: 113.5 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004852, allocations: 192 / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.004865, allocations: 4.375 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.004874, allocations: 4.125 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.004904, allocations: 19.86 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.005014, allocations: 132.6 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.005144, allocations: 55.2 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.00519, allocations: 27.72 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.005203, allocations: 15.98 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.005232, allocations: 37.33 kB / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.005234, allocations: 0 / 275.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001894/0.005424, allocations: 73.64 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.005485, allocations: 55.41 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.005601, allocations: 193.8 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.005615, allocations: 25.7 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.005667, allocations: 134.9 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.005684, allocations: 4 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.005727, allocations: 19.38 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.00587, allocations: 0.4884 MB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.005884, allocations: 3.938 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.005891, allocations: 4 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.00592, allocations: 15.67 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005922, allocations: 4 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.441e-05/0.005976, allocations: 37.66 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.005989, allocations: 4 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005993, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006007, allocations: 0 / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.904e-05/0.006056, allocations: 4.094 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.006064, allocations: 7.938 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.006077, allocations: 0 / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006083, allocations: 7.938 kB / 276.3 MB, free: 13.84 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 7.804e-05/0.006161, allocations: 160.6 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.00622, allocations: 66.11 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.00626, allocations: 16.77 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006262, allocations: 0 / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006265, allocations: 0 / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.006271, allocations: 3.938 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.933e-05/0.006351, allocations: 128.6 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.006354, allocations: 8 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.006412, allocations: 19.92 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006416, allocations: 0 / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.006426, allocations: 4 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.00643, allocations: 80 / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.006434, allocations: 7.922 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.006539, allocations: 108.3 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.006576, allocations: 15.94 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.0066, allocations: 4 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.006617, allocations: 0 / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-06/0.006621, allocations: 0 / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006627, allocations: 8 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.006683, allocations: 142.1 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006683, allocations: 0 / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001244/0.006807, allocations: 11.94 kB / 277 MB, free: 13.08 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 9.742e-05/0.006905, allocations: 91.25 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.007007, allocations: 31.61 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.00701, allocations: 0 / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.00701, allocations: 4 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.00729, allocations: 31.98 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.007605, allocations: 171.3 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.007648, allocations: 71.28 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.865e-05/0.007667, allocations: 3.938 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.007698, allocations: 12.5 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.362e-06/0.0077, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002691/0.01039, allocations: 0.6187 MB / 278 MB, free: 12 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: 3.115081572905183]