Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.004/1.004, allocations: 173.3 MB / 201.1 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.19e-05, allocations: 2.312 kB / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002052/0.002074, allocations: 0.9807 MB / 269 MB, free: 5.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.002398, allocations: 127.5 kB / 269.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.002477, allocations: 3.938 kB / 269.1 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.789e-05/0.002525, allocations: 3.938 kB / 269.1 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.002671, allocations: 11.88 kB / 269.1 MB, free: 5.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.00289, allocations: 27.95 kB / 269.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002991, allocations: 51.77 kB / 269.2 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.003098, allocations: 20.12 kB / 269.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.003143, allocations: 19.97 kB / 269.2 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.003188, allocations: 15.92 kB / 269.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.003212, allocations: 7.984 kB / 269.3 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.003221, allocations: 4 kB / 269.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.003273, allocations: 11.94 kB / 269.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.003306, allocations: 19.92 kB / 269.3 MB, free: 5.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003415, allocations: 35.84 kB / 269.3 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.00342, allocations: 3.984 kB / 269.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00342, allocations: 0 / 269.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.003424, allocations: 0 / 269.3 MB, free: 5.043 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.0003688/0.003793, allocations: 392.4 kB / 269.7 MB, free: 4.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.003833, allocations: 12.92 kB / 269.7 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.003876, allocations: 16.89 kB / 269.8 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004045, allocations: 152.2 kB / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004056, allocations: 384 / 269.9 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.00407, allocations: 8.375 kB / 269.9 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.004304, allocations: 121.4 kB / 270 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004311, allocations: 192 / 270 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004321, allocations: 384 / 270 MB, free: 4.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.00433, allocations: 8.125 kB / 270 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.004355, allocations: 11.94 kB / 270 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.004476, allocations: 124.6 kB / 270.2 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.004612, allocations: 63.23 kB / 270.2 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.004657, allocations: 27.69 kB / 270.3 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.004666, allocations: 3.984 kB / 270.3 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.00469, allocations: 37.33 kB / 270.3 MB, free: 3.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.004691, allocations: 4 kB / 270.3 MB, free: 3.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001527/0.004844, allocations: 73.59 kB / 270.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.004888, allocations: 63.41 kB / 270.4 MB, free: 3.793 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.004992, allocations: 192.7 kB / 270.6 MB, free: 3.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.005003, allocations: 33.64 kB / 270.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.005043, allocations: 130.9 kB / 270.8 MB, free: 3.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.005055, allocations: 4 kB / 270.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.005085, allocations: 23.36 kB / 270.8 MB, free: 3.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.005218, allocations: 496.1 kB / 271.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.005228, allocations: 4 kB / 271.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.005234, allocations: 3.938 kB / 271.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.366e-05/0.005258, allocations: 11.69 kB / 271.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.00526, allocations: 4.062 kB / 271.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.563e-05/0.005306, allocations: 41.64 kB / 271.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005318, allocations: 4 kB / 271.4 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005323, allocations: 0 / 271.4 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005335, allocations: 4 kB / 271.4 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.005376, allocations: 4 kB / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.005382, allocations: 3.938 kB / 271.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.005394, allocations: 4 kB / 271.4 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005399, allocations: 0 / 271.4 MB, free: 2.793 MB / 250.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.657e-05/0.005465, allocations: 156.5 kB / 271.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.005518, allocations: 73.78 kB / 271.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.005551, allocations: 12.78 kB / 271.6 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.005554, allocations: 4 kB / 271.6 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005558, allocations: 0 / 271.6 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.005563, allocations: 7.922 kB / 271.6 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.31e-05/0.005626, allocations: 132.6 kB / 271.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005627, allocations: 0 / 271.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.005665, allocations: 8 kB / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005667, allocations: 4 kB / 271.8 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-06/0.005672, allocations: 0 / 271.8 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005674, allocations: 7.984 kB / 271.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005675, allocations: 0 / 271.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.848e-05/0.005753, allocations: 108.7 kB / 271.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.005782, allocations: 15.95 kB / 271.9 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.0058, allocations: 3.984 kB / 271.9 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.005811, allocations: 4 kB / 271.9 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-06/0.005814, allocations: 0 / 271.9 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.005819, allocations: 7.984 kB / 271.9 MB, free: 2.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.005866, allocations: 145.5 kB / 272.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005866, allocations: 0 / 272.1 MB, free: 2.039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001154/0.005981, allocations: 7.938 kB / 272.1 MB, free: 2.031 MB / 250.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 7.999e-05/0.006061, allocations: 103.2 kB / 272.2 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.348e-05/0.006145, allocations: 27.61 kB / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.006147, allocations: 0 / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.006147, allocations: 0 / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.006364, allocations: 38.61 kB / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.006621, allocations: 166.5 kB / 272.4 MB, free: 1.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.006658, allocations: 63.34 kB / 272.5 MB, free: 1.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.006672, allocations: 7.938 kB / 272.5 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.006698, allocations: 12.56 kB / 272.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006699, allocations: 3.938 kB / 272.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of Templates: time 0.002202/0.008901, allocations: 0.6439 MB / 273.1 MB, free: 0.9219 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6662014378234744]