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.0009738/0.0009738, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002385, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009617/0.0009617, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.00225, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9517/0.9517, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08695/1.039, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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 2.996e-06/2.996e-06, allocations: 3.984 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.841e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002919/0.002948, allocations: 1.665 MB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008489/0.003797, allocations: 0.5342 MB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.003871, allocations: 4 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.003912, allocations: 3.938 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.004003, allocations: 15.86 kB / 246.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.004263, allocations: 51.77 kB / 246.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.004374, allocations: 39.8 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.004463, allocations: 15.97 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.004626, allocations: 35.91 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.004685, allocations: 11.98 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.004702, allocations: 0 / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.004768, allocations: 8 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.00481, allocations: 11.92 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.004832, allocations: 11.94 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.004962, allocations: 31.86 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.747e-05/0.004979, allocations: 0 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00498, allocations: 0 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.004999, allocations: 7.938 kB / 247 MB, free: 11.86 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.0004764/0.005475, allocations: 288.3 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.005515, allocations: 8.031 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.005705, allocations: 98.03 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.005893, allocations: 132.4 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.005901, allocations: 384 / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.005912, allocations: 8.359 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.006092, allocations: 98.28 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006101, allocations: 4.188 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.006108, allocations: 4.312 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.006115, allocations: 3.938 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.006141, allocations: 11.94 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.006348, allocations: 157.1 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.386e-05/0.006412, allocations: 37.12 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.006431, allocations: 9.719 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.006454, allocations: 8.125 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.006485, allocations: 30.56 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.006487, allocations: 4 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.006634, allocations: 49.56 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.006687, allocations: 81.09 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.006778, allocations: 138.6 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006788, allocations: 25.7 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.006822, allocations: 84.14 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.006836, allocations: 0 / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.006867, allocations: 17.67 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.006953, allocations: 318.8 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.006962, allocations: 4.25 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.006969, allocations: 4 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.007001, allocations: 12.8 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.007005, allocations: 4 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.367e-05/0.007058, allocations: 33.69 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007074, allocations: 7.438 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.00708, allocations: 0 / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.007095, allocations: 7.938 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.007157, allocations: 0 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.007159, allocations: 96 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.00718, allocations: 8 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007185, allocations: 0 / 248.6 MB, free: 9.992 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 6.568e-05/0.007251, allocations: 116.7 kB / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.007297, allocations: 37.64 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.007324, allocations: 7.797 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.007328, allocations: 3.938 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.00733, allocations: 4 kB / 248.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007333, allocations: 0 / 248.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.007443, allocations: 77.81 kB / 248.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007445, allocations: 4.031 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.007482, allocations: 4 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.007516, allocations: 15.94 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007517, allocations: 4 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.007521, allocations: 0 / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007523, allocations: 3.938 kB / 248.9 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007525, allocations: 0 / 248.9 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.007619, allocations: 144.3 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.00763, allocations: 0 / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.007683, allocations: 0 / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.007707, allocations: 7.969 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.007711, allocations: 4 kB / 249.1 MB, free: 9.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.007744, allocations: 27.59 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007744, allocations: 0 / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.007947, allocations: 4 kB / 249.1 MB, free: 9.477 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 9.576e-05/0.008043, allocations: 80.41 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.82e-05/0.008111, allocations: 12.8 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.008117, allocations: 0 / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.008129, allocations: 8.922 kB / 249.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.008387, allocations: 24.23 kB / 249.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.009284, allocations: 171.5 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.00933, allocations: 59.34 kB / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.976e-05/0.00936, allocations: 0 / 249.4 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.009421, allocations: 59.36 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009422, allocations: 0 / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of Templates: time 0.002682/0.0121, allocations: 0.5377 MB / 250 MB, free: 8.477 MB / 250.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 -ignoreHideResult -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.4543847125023603]