Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001451/0.001451, allocations: 80.8 kB / 21.49 MB, free: 3 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.0009093/0.0009093, allocations: 172.7 kB / 24.91 MB, free: 9.215 MB / 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 0.8931/0.8931, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.414e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002443/0.002457, allocations: 1.628 MB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.003313, allocations: 0.5219 MB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.003383, allocations: 4 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.003429, allocations: 11.92 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.003557, allocations: 11.86 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.003813, allocations: 51.77 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.003913, allocations: 47.78 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.003981, allocations: 4 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.004096, allocations: 35.89 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.004143, allocations: 11.92 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.004159, allocations: 4 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-05/0.004198, allocations: 8 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.004235, allocations: 15.86 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.004253, allocations: 12 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004366, allocations: 47.81 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004368, allocations: 0 / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004368, allocations: 0 / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004371, allocations: 0 / 275.9 MB, free: 14.89 MB / 266.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.0003159/0.004687, allocations: 268.6 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.004724, allocations: 12.02 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.004833, allocations: 12.94 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004993, allocations: 149.6 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.005002, allocations: 384 / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.005011, allocations: 384 / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.005159, allocations: 98.31 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.005165, allocations: 192 / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.005171, allocations: 384 / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005177, allocations: 3.938 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.005195, allocations: 7.938 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.005362, allocations: 157.1 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.005413, allocations: 41.16 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.00543, allocations: 9.719 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.005443, allocations: 4.062 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.005465, allocations: 34.55 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005466, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001203/0.005586, allocations: 45.58 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.005635, allocations: 85.09 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.005723, allocations: 137.5 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.005733, allocations: 25.95 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.005767, allocations: 92.12 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.005778, allocations: 0 / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.005807, allocations: 21.67 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.005891, allocations: 314.8 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.005898, allocations: 0 / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/0.005907, allocations: 7.938 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.005928, allocations: 4.859 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00593, allocations: 0 / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.097e-05/0.005981, allocations: 37.69 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.005991, allocations: 8.094 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005995, allocations: 0 / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006007, allocations: 7.875 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.006055, allocations: 4 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.006058, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.006076, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.006081, allocations: 0 / 277.4 MB, free: 13.14 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: 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 5.584e-05/0.006136, allocations: 120.6 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.006177, allocations: 29.7 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.006202, allocations: 15.8 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006204, allocations: 7.969 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.006206, allocations: 0 / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.00621, allocations: 4 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.006327, allocations: 69.88 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006328, allocations: 4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.006352, allocations: 4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006353, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.006357, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.006359, allocations: 3.938 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00636, allocations: 0 / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.877e-05/0.006439, allocations: 148.3 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.006469, allocations: 15.94 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.00648, allocations: 4 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.006536, allocations: 4 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.006558, allocations: 3.938 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.006561, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.006592, allocations: 28.83 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006592, allocations: 0 / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.006801, allocations: 4 kB / 277.9 MB, free: 12.62 MB / 266.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.6e-05/0.006877, allocations: 88.38 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.00693, allocations: 16.8 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.006932, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.006945, allocations: 8.797 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.007165, allocations: 15.05 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.007706, allocations: 167.6 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.007745, allocations: 63.56 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.255e-05/0.007768, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.007819, allocations: 55.38 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00782, allocations: 0 / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Templates: time 0.002374/0.01019, allocations: 0.5316 MB / 278.8 MB, free: 11.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4276530109345913]