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.0009834/0.0009834, 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.0009638/0.0009638, 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 1.016/1.016, allocations: 177 MB / 204.8 MB, free: 5.574 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.435e-06/2.435e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.256e-05/4.5e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002229/0.002274, allocations: 0.9782 MB / 273.9 MB, free: 456 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.002604, allocations: 123.5 kB / 274 MB, free: 332 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.002682, allocations: 3.938 kB / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.002732, allocations: 11.94 kB / 274 MB, free: 316 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.002868, allocations: 15.84 kB / 274 MB, free: 300 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003079, allocations: 27.92 kB / 274.1 MB, free: 272 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.00318, allocations: 47.83 kB / 274.1 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003285, allocations: 16.12 kB / 274.1 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.003336, allocations: 19.97 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.003389, allocations: 19.91 kB / 274.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.003413, allocations: 4 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.003425, allocations: 4 kB / 274.2 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.003481, allocations: 11.94 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.003516, allocations: 19.92 kB / 274.2 MB, free: 124 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.003633, allocations: 39.83 kB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.003636, allocations: 0 / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.003637, allocations: 0 / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003642, allocations: 0 / 274.3 MB, free: 84 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.00039/0.004032, allocations: 397.8 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.004071, allocations: 11.98 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.004115, allocations: 16.89 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.00428, allocations: 147.5 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.004291, allocations: 12.36 kB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004302, allocations: 4.375 kB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.004519, allocations: 117.4 kB / 274.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.004528, allocations: 192 / 274.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.00454, allocations: 8.375 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.004546, allocations: 2.812 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.004569, allocations: 7.938 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.004674, allocations: 132.6 kB / 275.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.004801, allocations: 63.23 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.004842, allocations: 27.67 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.004849, allocations: 4 kB / 275.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.004871, allocations: 41.27 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.004873, allocations: 0 / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001638/0.005036, allocations: 73.64 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.005086, allocations: 63.36 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005187, allocations: 185.9 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005199, allocations: 29.7 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.00524, allocations: 130.9 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.005253, allocations: 4 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.005287, allocations: 23.36 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.00541, allocations: 0.4884 MB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.005426, allocations: 3.938 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.005435, allocations: 0 / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.005464, allocations: 11.69 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005467, allocations: 3.938 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.9e-05/0.005536, allocations: 45.64 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.005555, allocations: 12.03 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.005561, allocations: 0 / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.005577, allocations: 0 / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.005633, allocations: 4 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.005639, allocations: 0 / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.00565, allocations: 4 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005655, allocations: 3.938 kB / 276.3 MB, free: 13.82 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 6.907e-05/0.005724, allocations: 156.6 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.005781, allocations: 74.03 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.005822, allocations: 8.781 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005825, allocations: 8 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.00583, allocations: 3.984 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.005834, allocations: 0 / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.485e-05/0.005919, allocations: 128.6 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.005922, allocations: 4 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.005982, allocations: 12 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.005985, allocations: 0 / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.005996, allocations: 7.922 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005998, allocations: 0 / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.006002, allocations: 8.016 kB / 276.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.006102, allocations: 104.4 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.006137, allocations: 19.94 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.006158, allocations: 3.938 kB / 276.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.006169, allocations: 8 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-06/0.006173, allocations: 0 / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.006181, allocations: 0 / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.006232, allocations: 142.3 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006232, allocations: 0 / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001185/0.00635, allocations: 8 kB / 277 MB, free: 13.07 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 8.724e-05/0.006437, allocations: 98.88 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.006526, allocations: 31.61 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.006528, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.006529, allocations: 0 / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.006788, allocations: 39.39 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.007063, allocations: 171.2 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.007104, allocations: 71.28 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.007118, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.00715, allocations: 8.5 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of SimCode: time 1.503e-06/0.007152, allocations: 4 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.002746/0.009898, allocations: 0.6464 MB / 278 MB, free: 11.95 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: 2.721986534073949]