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.001261/0.001261, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001398/0.001398, allocations: 156.9 kB / 24.27 MB, free: 176 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.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.621 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.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 3.126e-06/3.126e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.604e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.004219/0.004255, allocations: 0.8537 MB / 273 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.004958, allocations: 127.5 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005085, allocations: 4 kB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.005253, allocations: 7.875 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.005434, allocations: 3.984 kB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.005789, allocations: 43.84 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005965, allocations: 35.91 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.006146, allocations: 19.94 kB / 273.3 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.00623, allocations: 27.89 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.006339, allocations: 19.92 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.006367, allocations: 0 / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.006382, allocations: 4 kB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.006471, allocations: 19.92 kB / 273.4 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.006538, allocations: 15.92 kB / 273.4 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.00675, allocations: 59.73 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.006753, allocations: 4 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006754, allocations: 4 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.00676, allocations: 0 / 273.4 MB, free: 0.5664 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.0007997/0.00756, allocations: 298 kB / 273.7 MB, free: 248 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.007615, allocations: 15.98 kB / 273.7 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.007696, allocations: 16.84 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.00805, allocations: 137.6 kB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.008071, allocations: 4.375 kB / 273.9 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.008094, allocations: 12.31 kB / 273.9 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.008644, allocations: 143.7 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.008657, allocations: 192 / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.00867, allocations: 4.375 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.008677, allocations: 384 / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.008785, allocations: 27.92 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.009027, allocations: 113.2 kB / 274.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.009333, allocations: 74.69 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.009483, allocations: 41 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.009507, allocations: 7.984 kB / 274.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.009571, allocations: 30.56 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.295e-06/0.009573, allocations: 0 / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.01003, allocations: 105.6 kB / 274.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.01015, allocations: 59.41 kB / 274.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.01041, allocations: 145 kB / 274.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.01045, allocations: 25.7 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01057, allocations: 88.14 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.01059, allocations: 3.953 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.01068, allocations: 21.7 kB / 274.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.01098, allocations: 314.8 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.011, allocations: 8 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.01102, allocations: 4 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.796e-05/0.01109, allocations: 20.78 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01109, allocations: 0 / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.01121, allocations: 41.66 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.01124, allocations: 4 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01125, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.01127, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.01135, allocations: 4 kB / 275.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.01136, allocations: 8.031 kB / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.01139, allocations: 0 / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.0114, allocations: 4 kB / 275.2 MB, free: 14.64 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 0.0001987/0.0116, allocations: 121.8 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.01181, allocations: 81.89 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.01189, allocations: 20.77 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01189, allocations: 3.938 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.0119, allocations: 0 / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.01191, allocations: 7.922 kB / 275.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.0121, allocations: 113.3 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.01211, allocations: 4 kB / 275.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.01224, allocations: 11.98 kB / 275.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.01225, allocations: 4 kB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01226, allocations: 0 / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.01226, allocations: 0 / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01227, allocations: 0 / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.01258, allocations: 129 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.01266, allocations: 15.89 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.01269, allocations: 3.984 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.01274, allocations: 4 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-06/0.01274, allocations: 0 / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.01276, allocations: 8 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01292, allocations: 103.3 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01292, allocations: 0 / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003393/0.01325, allocations: 11.94 kB / 275.8 MB, free: 13.95 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.0001841/0.01344, allocations: 103.2 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.01358, allocations: 23.98 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01359, allocations: 0 / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.01359, allocations: 3.938 kB / 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.0005181/0.0141, allocations: 54.55 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01468, allocations: 181.6 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.01484, allocations: 87.27 kB / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.01486, allocations: 0 / 276.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.01491, allocations: 12.5 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01491, allocations: 0 / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005749/0.02066, allocations: 0.699 MB / 277 MB, free: 12.75 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.294815146015026]