Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001315/0.001315, 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.001327/0.001327, allocations: 145.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 0.9353/0.9353, allocations: 173.4 MB / 201.2 MB, free: 9.332 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.213e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00286/0.002892, allocations: 1.608 MB / 269.6 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.003796, allocations: 458.6 kB / 270.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.003892, allocations: 7.938 kB / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.15e-05/0.003964, allocations: 0 / 270.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.00414, allocations: 19.84 kB / 270.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.004431, allocations: 43.72 kB / 270.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.00454, allocations: 39.86 kB / 270.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004649, allocations: 7.984 kB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004761, allocations: 23.97 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.004821, allocations: 11.92 kB / 270.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.004843, allocations: 4 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.004857, allocations: 4 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.004917, allocations: 15.92 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.00495, allocations: 12 kB / 270.2 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.005078, allocations: 35.83 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005081, allocations: 0 / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005082, allocations: 4 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.005087, allocations: 0 / 270.3 MB, free: 4.129 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004877/0.005575, allocations: 392.3 kB / 270.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.005621, allocations: 12.92 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.005659, allocations: 12.83 kB / 270.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.005863, allocations: 132.5 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.005873, allocations: 4.375 kB / 270.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.005888, allocations: 4.375 kB / 270.8 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.00615, allocations: 109.6 kB / 270.9 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.006164, allocations: 4.172 kB / 270.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006174, allocations: 384 / 270.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.006185, allocations: 3.938 kB / 270.9 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.006211, allocations: 7.984 kB / 270.9 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.006552, allocations: 267.4 kB / 271.2 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.573e-05/0.006627, allocations: 58.19 kB / 271.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.006656, allocations: 15.38 kB / 271.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.006681, allocations: 8 kB / 271.3 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.006709, allocations: 37.33 kB / 271.3 MB, free: 2.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.00671, allocations: 0 / 271.3 MB, free: 2.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.006877, allocations: 53.58 kB / 271.4 MB, free: 2.855 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.006929, allocations: 81.11 kB / 271.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.007057, allocations: 196.9 kB / 271.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.007067, allocations: 25.7 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.00713, allocations: 139 kB / 271.8 MB, free: 2.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.007145, allocations: 4 kB / 271.8 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.00718, allocations: 23.33 kB / 271.8 MB, free: 2.344 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.007321, allocations: 0.4884 MB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.007335, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.007343, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.007371, allocations: 15.67 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007373, allocations: 7.875 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.638e-05/0.007429, allocations: 29.7 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.007446, allocations: 11.94 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007451, allocations: 4.094 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.00747, allocations: 0 / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.007546, allocations: 4 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.007553, allocations: 4 kB / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.00757, allocations: 3.984 kB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.00758, allocations: 4 kB / 272.4 MB, free: 1.75 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.192e-05/0.007652, allocations: 156.6 kB / 272.6 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.00769, allocations: 41.53 kB / 272.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.007726, allocations: 15.8 kB / 272.6 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007728, allocations: 4.031 kB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.007733, allocations: 0 / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007736, allocations: 0 / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.007845, allocations: 124.6 kB / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.007846, allocations: 0 / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.007868, allocations: 4 kB / 272.7 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00787, allocations: 0 / 272.7 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.007883, allocations: 11.92 kB / 272.8 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007885, allocations: 4 kB / 272.8 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007886, allocations: 0 / 272.8 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.007993, allocations: 199.5 kB / 273 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.008023, allocations: 15.94 kB / 273 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008035, allocations: 7.938 kB / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.901e-05/0.008064, allocations: 0 / 273 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.008098, allocations: 3.984 kB / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.008102, allocations: 4 kB / 273 MB, free: 1.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.407e-05/0.008157, allocations: 141.8 kB / 273.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008157, allocations: 0 / 273.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.008296, allocations: 8 kB / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.612e-05/0.008372, allocations: 95.25 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.008457, allocations: 19.7 kB / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008459, allocations: 0 / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.00848, allocations: 11.62 kB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.008737, allocations: 16.25 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.009257, allocations: 165.3 kB / 273.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.009304, allocations: 59.34 kB / 273.5 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.009327, allocations: 4.219 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.009365, allocations: 12.5 kB / 273.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009366, allocations: 0 / 273.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of Templates: time 0.002309/0.01168, allocations: 0.5183 MB / 274 MB, free: 15.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.667220933828503]