Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001032/0.001032, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002335, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00113/0.00113, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002607, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.007/1.007, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.118, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.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.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.413e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003539/0.003563, allocations: 1.701 MB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009307/0.004494, allocations: 0.5607 MB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.004595, allocations: 0 / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.004642, allocations: 7.875 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.004748, allocations: 15.91 kB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.005022, allocations: 63.69 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.005153, allocations: 47.84 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.00526, allocations: 27.88 kB / 247.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.005424, allocations: 43.89 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.005487, allocations: 19.97 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.005507, allocations: 4 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.005571, allocations: 4 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.005615, allocations: 11.94 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.005644, allocations: 15.94 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.005794, allocations: 51.7 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.005807, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005809, allocations: 0 / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.005825, allocations: 0 / 247.6 MB, free: 11.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004692/0.006294, allocations: 304.2 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.006332, allocations: 8.625 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.006515, allocations: 94.03 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.00673, allocations: 144.9 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006743, allocations: 4.375 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.006754, allocations: 4.375 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.006991, allocations: 139 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.007, allocations: 192 / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.007008, allocations: 384 / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.007015, allocations: 3.938 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.007043, allocations: 19.86 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002462/0.007289, allocations: 158.1 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.007438, allocations: 71.64 kB / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.007468, allocations: 26.69 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.007497, allocations: 4 kB / 248.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.007524, allocations: 34.56 kB / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.007526, allocations: 0 / 248.6 MB, free: 9.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001674/0.007693, allocations: 69.48 kB / 248.6 MB, free: 9.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.00776, allocations: 106.8 kB / 248.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.007849, allocations: 142.6 kB / 248.9 MB, free: 9.539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.007859, allocations: 25.7 kB / 248.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.007907, allocations: 88.12 kB / 249 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.007931, allocations: 11.89 kB / 249 MB, free: 9.406 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.00796, allocations: 21.97 kB / 249 MB, free: 9.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.008047, allocations: 318.8 kB / 249.3 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.008059, allocations: 4 kB / 249.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.00808, allocations: 21.64 kB / 249.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.008113, allocations: 17.72 kB / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.008115, allocations: 0 / 249.4 MB, free: 9.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.649e-05/0.008172, allocations: 45.62 kB / 249.4 MB, free: 8.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.008185, allocations: 4 kB / 249.4 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.008192, allocations: 3.938 kB / 249.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.008203, allocations: 7.984 kB / 249.4 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.008264, allocations: 8.031 kB / 249.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.008268, allocations: 4 kB / 249.5 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.008286, allocations: 0 / 249.5 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.008292, allocations: 0 / 249.5 MB, free: 8.926 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.114e-05/0.008363, allocations: 116.7 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.008407, allocations: 49.61 kB / 249.6 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.008439, allocations: 16.28 kB / 249.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008441, allocations: 0 / 249.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008444, allocations: 0 / 249.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.008448, allocations: 4.375 kB / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.008562, allocations: 81.86 kB / 249.7 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008563, allocations: 0 / 249.7 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.008602, allocations: 11.98 kB / 249.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.008638, allocations: 23.88 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008642, allocations: 0 / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.00865, allocations: 7.984 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.008653, allocations: 3.938 kB / 249.8 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008653, allocations: 0 / 249.8 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.008746, allocations: 145.2 kB / 249.9 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.008766, allocations: 8 kB / 249.9 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.008801, allocations: 4.031 kB / 249.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.008825, allocations: 3.938 kB / 249.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008829, allocations: 7.984 kB / 249.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.586e-05/0.008855, allocations: 32.05 kB / 250 MB, free: 8.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008855, allocations: 0 / 250 MB, free: 8.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.008975, allocations: 12 kB / 250 MB, free: 8.352 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001186/0.009094, allocations: 76.42 kB / 250.1 MB, free: 8.266 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.009169, allocations: 24.78 kB / 250.1 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.009175, allocations: 4 kB / 250.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.009187, allocations: 8.922 kB / 250.1 MB, free: 8.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.00943, allocations: 37.36 kB / 250.1 MB, free: 8.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.0102, allocations: 199.1 kB / 250.3 MB, free: 7.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01024, allocations: 63.34 kB / 250.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.601e-05/0.01026, allocations: 4 kB / 250.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.01032, allocations: 59.36 kB / 250.4 MB, free: 7.812 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01032, allocations: 4.125 kB / 250.4 MB, free: 7.809 MB / 250.7 MB Notification: Performance of Templates: time 0.002532/0.01285, allocations: 0.7217 MB / 251.2 MB, free: 7.113 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.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.6521247001364827]