Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001031/0.001031, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004186/0.005216, 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.0009165/0.0009165, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002078, 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 1.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09494/1.132, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.037e-05, allocations: 9.906 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00299/0.00302, allocations: 1.689 MB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.003873, allocations: 0.5304 MB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.003947, allocations: 3.938 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.003989, allocations: 7.922 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.00407, allocations: 11.88 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.004316, allocations: 59.73 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.004431, allocations: 51.8 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004512, allocations: 7.984 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.004682, allocations: 35.91 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.00474, allocations: 11.98 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004759, allocations: 4 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.004823, allocations: 8 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.004867, allocations: 11.92 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.004894, allocations: 11.94 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.005033, allocations: 47.72 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.005048, allocations: 0 / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005049, allocations: 4 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.005065, allocations: 0 / 247 MB, free: 11.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004502/0.005516, allocations: 300.2 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005553, allocations: 8.031 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.005756, allocations: 94.03 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.005935, allocations: 136.4 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.005946, allocations: 4.375 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.005955, allocations: 4.375 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.006153, allocations: 126.2 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006161, allocations: 192 / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.006169, allocations: 384 / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.006176, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.006198, allocations: 4 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.0064, allocations: 161.1 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.006526, allocations: 45.17 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.006555, allocations: 25.78 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.006579, allocations: 0 / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.006606, allocations: 38.5 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.006607, allocations: 0 / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001369/0.006744, allocations: 53.55 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.006797, allocations: 85.11 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.006885, allocations: 130.7 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006898, allocations: 25.7 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.006937, allocations: 88.12 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.006952, allocations: 4.078 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.006986, allocations: 25.7 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.007086, allocations: 314.8 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-06/0.007095, allocations: 3.938 kB / 248.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.007106, allocations: 4 kB / 248.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.00713, allocations: 4.859 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.007134, allocations: 3.984 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.011e-05/0.007194, allocations: 37.64 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.00721, allocations: 7.594 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007214, allocations: 96 / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.007224, allocations: 7.938 kB / 248.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.007288, allocations: 11.98 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.00729, allocations: 0 / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.007311, allocations: 0 / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.007317, allocations: 4 kB / 248.7 MB, free: 9.871 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.517e-05/0.007383, allocations: 108.7 kB / 248.9 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.007445, allocations: 45.8 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.007482, allocations: 12.34 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007485, allocations: 3.938 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.007488, allocations: 0 / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.007493, allocations: 11.98 kB / 248.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.00762, allocations: 69.89 kB / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007622, allocations: 0 / 249 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.007676, allocations: 11.98 kB / 249 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.007714, allocations: 19.88 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007716, allocations: 0 / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.007722, allocations: 4 kB / 249 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.007725, allocations: 3.938 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007727, allocations: 0 / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.007816, allocations: 136.3 kB / 249.2 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.007829, allocations: 8.031 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.007885, allocations: 0 / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.007908, allocations: 3.938 kB / 249.2 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.007913, allocations: 4 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.007953, allocations: 31.92 kB / 249.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007953, allocations: 0 / 249.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.008158, allocations: 4 kB / 249.2 MB, free: 9.348 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 (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 Backend phase and start with SimCode phase: time 8.366e-05/0.008241, allocations: 80.41 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.008302, allocations: 8.859 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.008308, allocations: 12 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.008323, allocations: 8.797 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.008578, allocations: 24.86 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.009474, allocations: 179 kB / 249.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.009519, allocations: 59.34 kB / 249.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.009548, allocations: 4 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.009617, allocations: 55.44 kB / 249.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009618, allocations: 0 / 249.6 MB, free: 8.855 MB / 250.7 MB Notification: Performance of Templates: time 0.002651/0.01227, allocations: 0.5789 MB / 250.2 MB, free: 8.281 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.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.5855997931212187]