Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002523/0.002523, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.023e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002521/0.002551, allocations: 0.8647 MB / 273.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004575/0.003008, allocations: 119.5 kB / 273.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.0031, allocations: 8 kB / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.003229, allocations: 3.938 kB / 273.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.00337, allocations: 15.92 kB / 273.3 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.003633, allocations: 35.83 kB / 273.4 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.003757, allocations: 39.92 kB / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003886, allocations: 19.91 kB / 273.4 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.003952, allocations: 23.92 kB / 273.4 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.004034, allocations: 15.92 kB / 273.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.00406, allocations: 4 kB / 273.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.004076, allocations: 4 kB / 273.5 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.004139, allocations: 23.91 kB / 273.5 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.004183, allocations: 11.94 kB / 273.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.004337, allocations: 63.78 kB / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.00434, allocations: 0 / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00434, allocations: 0 / 273.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.004346, allocations: 3.938 kB / 273.6 MB, free: 0.5742 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.0005638/0.004909, allocations: 302 kB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.004949, allocations: 8.031 kB / 273.9 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.005007, allocations: 16.84 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.00524, allocations: 141.6 kB / 274 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.005257, allocations: 8.375 kB / 274 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.00527, allocations: 4.375 kB / 274 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.005634, allocations: 143.7 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005643, allocations: 192 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005655, allocations: 4.375 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.00566, allocations: 384 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.737e-05/0.005717, allocations: 23.92 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.00588, allocations: 125.2 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.006056, allocations: 74.64 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.006138, allocations: 40.88 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.006149, allocations: 0 / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.006188, allocations: 38.56 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.006189, allocations: 0 / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002661/0.006455, allocations: 97.56 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.006526, allocations: 59.41 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.006689, allocations: 139.2 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.006711, allocations: 29.7 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.006775, allocations: 96.12 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.006789, allocations: 3.953 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.006827, allocations: 13.72 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003063/0.007133, allocations: 322.8 kB / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.007145, allocations: 0 / 275.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.007155, allocations: 4 kB / 275.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.007184, allocations: 12.86 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007186, allocations: 0 / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.395e-05/0.00727, allocations: 45.59 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.007284, allocations: 8.094 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007288, allocations: 0 / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.007302, allocations: 4 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.007351, allocations: 3.984 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.007361, allocations: 3.938 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.00738, allocations: 8 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.007384, allocations: 0 / 275.3 MB, free: 14.65 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.0001045/0.007489, allocations: 113.8 kB / 275.4 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.007621, allocations: 89.77 kB / 275.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.007658, allocations: 12.78 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.00766, allocations: 4 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.007664, allocations: 7.875 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.007669, allocations: 3.938 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.00778, allocations: 117.3 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007782, allocations: 0 / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.007854, allocations: 12 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.007857, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.007867, allocations: 4 kB / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007868, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007869, allocations: 0 / 275.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.00804, allocations: 113 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.008088, allocations: 23.88 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.008116, allocations: 4 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.00814, allocations: 0 / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.008143, allocations: 7.938 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008147, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.008248, allocations: 110.5 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008248, allocations: 0 / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.008456, allocations: 15.94 kB / 275.9 MB, free: 13.96 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.0001294/0.008585, allocations: 95.25 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.008685, allocations: 27.98 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.00869, allocations: 4 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.00869, allocations: 0 / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.009018, allocations: 43.19 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.009397, allocations: 185.6 kB / 276.3 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.009492, allocations: 91.23 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.579e-05/0.009507, allocations: 0 / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.009539, allocations: 12.5 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009539, allocations: 4.062 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of Templates: time 0.003538/0.01308, allocations: 0.7156 MB / 277.1 MB, free: 12.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.3550891960039735]