Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009268/0.0009268, allocations: 91.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.001117/0.001117, allocations: 160.5 kB / 24.55 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 0.9723/0.9723, 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.277e-05, allocations: 6.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001941/0.001973, allocations: 0.8729 MB / 273.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.002328, allocations: 131.5 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.976e-05/0.002428, allocations: 11.94 kB / 273.9 MB, free: 448 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.002554, allocations: 7.922 kB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.002715, allocations: 11.92 kB / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.002931, allocations: 35.89 kB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.845e-05/0.003029, allocations: 43.8 kB / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003141, allocations: 15.98 kB / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.003187, allocations: 27.91 kB / 274.1 MB, free: 304 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.003261, allocations: 15.97 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003282, allocations: 0 / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.003294, allocations: 7.938 kB / 274.1 MB, free: 280 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.003338, allocations: 16 kB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.003377, allocations: 15.92 kB / 274.1 MB, free: 248 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.0035, allocations: 47.77 kB / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.003504, allocations: 0 / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003506, allocations: 0 / 274.2 MB, free: 200 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.003511, allocations: 0 / 274.2 MB, free: 200 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.0004474/0.003959, allocations: 404.3 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.004006, allocations: 15.98 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.004052, allocations: 16.89 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.004231, allocations: 147.5 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004242, allocations: 8.375 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.004255, allocations: 8.312 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.004472, allocations: 105.5 kB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.004482, allocations: 192 / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004493, allocations: 12.36 kB / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.004501, allocations: 384 / 274.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.004528, allocations: 19.86 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.004651, allocations: 124.6 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.00481, allocations: 63.2 kB / 275.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.004862, allocations: 27.72 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.004873, allocations: 7.938 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.004899, allocations: 33.39 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.004902, allocations: 0 / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001959/0.005098, allocations: 77.78 kB / 275.2 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.00516, allocations: 63.39 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.005287, allocations: 197.8 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.005302, allocations: 29.7 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.005366, allocations: 130.9 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.005382, allocations: 7.938 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.005422, allocations: 31.36 kB / 275.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.005551, allocations: 496.1 kB / 276.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.005566, allocations: 3.938 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-06/0.005575, allocations: 4 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.005614, allocations: 11.69 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.005618, allocations: 0 / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.466e-05/0.005693, allocations: 41.64 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.005711, allocations: 4.094 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.005717, allocations: 4 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.005732, allocations: 0 / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.005789, allocations: 8 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.005795, allocations: 0 / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.005809, allocations: 7.875 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005814, allocations: 4 kB / 276.2 MB, free: 13.91 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: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * 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.405e-05/0.005888, allocations: 152.6 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.005948, allocations: 65.95 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.005988, allocations: 16.77 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.00599, allocations: 0 / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.005994, allocations: 4 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.006, allocations: 7.938 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.561e-05/0.006076, allocations: 132.6 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006077, allocations: 0 / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.006133, allocations: 15.98 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006135, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.006142, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006145, allocations: 80 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.006148, allocations: 7.922 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.006267, allocations: 112.3 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.006302, allocations: 19.89 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.006324, allocations: 8 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.006338, allocations: 7.938 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-06/0.006342, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.006346, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.006408, allocations: 142.3 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006408, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.006536, allocations: 12 kB / 276.9 MB, free: 13.14 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.000105/0.006641, allocations: 103.2 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.754e-05/0.006738, allocations: 31.62 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.006741, allocations: 0 / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.006741, allocations: 0 / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.007007, allocations: 35.03 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.007305, allocations: 167.3 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.185e-05/0.007357, allocations: 75.27 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.007375, allocations: 4 kB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.007409, allocations: 8.5 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.00741, allocations: 0 / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002613/0.01002, allocations: 0.7069 MB / 278 MB, free: 11.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.8876919629983604]