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.0009149/0.0009149, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009221/0.0009221, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.8982/0.8982, allocations: 177 MB / 205.2 MB, free: 5.008 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 1.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.871e-05, allocations: 5.406 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.0014/0.001419, allocations: 0.8769 MB / 274.3 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.001693, allocations: 123.5 kB / 274.4 MB, free: 60 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.001761, allocations: 11.94 kB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.00185, allocations: 7.875 kB / 274.4 MB, free: 40 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.001949, allocations: 11.92 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.002115, allocations: 35.97 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.002204, allocations: 43.8 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.00228, allocations: 19.89 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.002319, allocations: 23.92 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.002378, allocations: 11.98 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.002396, allocations: 4 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.002404, allocations: 0 / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.002439, allocations: 23.91 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.002463, allocations: 19.92 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.698e-05/0.00255, allocations: 47.77 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-06/0.002551, allocations: 0 / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002551, allocations: 0 / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.002554, allocations: 0 / 274.6 MB, free: 15.8 MB / 266.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.00026/0.002814, allocations: 272.6 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.002842, allocations: 15.98 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.002866, allocations: 8.922 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.003004, allocations: 141.6 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.003014, allocations: 8.375 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003025, allocations: 4.375 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.003162, allocations: 106.6 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.003168, allocations: 4.188 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.003174, allocations: 384 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.003179, allocations: 4.312 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.003193, allocations: 10.77 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.84e-05/0.003251, allocations: 71.81 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.003337, allocations: 52.2 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.003362, allocations: 24.86 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.003368, allocations: 0 / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.003385, allocations: 34.56 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.003386, allocations: 0 / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 9.093e-05/0.003477, allocations: 65.61 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.003513, allocations: 55.41 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.003579, allocations: 137.9 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.00359, allocations: 33.7 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.003609, allocations: 84.14 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.003621, allocations: 7.922 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.003643, allocations: 21.66 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.003706, allocations: 318.8 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-06/0.00371, allocations: 0 / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.003715, allocations: 4 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.78e-05/0.003733, allocations: 12.78 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.003735, allocations: 4 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.073e-05/0.003765, allocations: 29.7 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.003775, allocations: 8.094 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.003779, allocations: 4 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.003788, allocations: 0 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.973e-05/0.003818, allocations: 7.984 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.00382, allocations: 0 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-06/0.003828, allocations: 0 / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.003832, allocations: 0 / 276.2 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: 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 5.198e-05/0.003884, allocations: 124.6 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.003928, allocations: 49.94 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.003955, allocations: 20.75 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.003956, allocations: 0 / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003958, allocations: 4 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.00396, allocations: 0 / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.789e-05/0.004008, allocations: 85.75 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004009, allocations: 0 / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.00404, allocations: 12 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.004041, allocations: 0 / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.004044, allocations: 0 / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004045, allocations: 80 / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.004046, allocations: 7.984 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.338e-05/0.00408, allocations: 63.83 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.004106, allocations: 15.95 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.004121, allocations: 7.984 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-06/0.004128, allocations: 0 / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.004131, allocations: 3.938 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.004135, allocations: 8 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.004155, allocations: 28.83 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004155, allocations: 0 / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.618e-05/0.004241, allocations: 4 kB / 276.6 MB, free: 13.62 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 6.311e-05/0.004304, allocations: 76.42 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.956e-05/0.004354, allocations: 28.84 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.004356, allocations: 3.938 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.004356, allocations: 0 / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.004479, allocations: 33.33 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.004648, allocations: 169.6 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.00468, allocations: 67.33 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.426e-05/0.004695, allocations: 4 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.004736, allocations: 55.38 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 2.9e-07/0.004736, allocations: 0 / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.001916/0.006651, allocations: 0.7572 MB / 277.8 MB, free: 12.4 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.4181208121590316]