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.0008543/0.0008543, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002312, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008344/0.0008344, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001188/0.002022, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.18/1.18, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.135/1.315, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.254e-06/2.254e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.037e-05, allocations: 5.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004247/0.004278, allocations: 1.689 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.005395, allocations: 0.5381 MB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.005514, allocations: 4 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.005574, allocations: 3.938 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.005691, allocations: 19.86 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.006049, allocations: 51.77 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.006208, allocations: 39.86 kB / 247.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.006314, allocations: 15.97 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.006542, allocations: 39.91 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.006625, allocations: 19.91 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.006648, allocations: 4 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.006732, allocations: 4 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.00679, allocations: 11.94 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.006822, allocations: 15.88 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.00701, allocations: 51.77 kB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.007025, allocations: 0 / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007026, allocations: 0 / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.007041, allocations: 0 / 247.2 MB, free: 11.69 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.0005674/0.007608, allocations: 284.3 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.007666, allocations: 15.98 kB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.007895, allocations: 90.03 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.008153, allocations: 145.5 kB / 247.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.008168, allocations: 16.36 kB / 247.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.008186, allocations: 8.312 kB / 247.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.008431, allocations: 110.2 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.008441, allocations: 192 / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.008456, allocations: 8.375 kB / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.008466, allocations: 3.938 kB / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.706e-05/0.008493, allocations: 7.984 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.008752, allocations: 149.2 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.008912, allocations: 49.14 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.008954, allocations: 25.69 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.008979, allocations: 4 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.009011, allocations: 30.56 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.009013, allocations: 0 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000177/0.00919, allocations: 53.56 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.009251, allocations: 81.11 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.009358, allocations: 130.7 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.009374, allocations: 33.83 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.009424, allocations: 84.12 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.009449, allocations: 7.938 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.009488, allocations: 17.72 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.009608, allocations: 314.8 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.009625, allocations: 7.984 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.009634, allocations: 0 / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.009671, allocations: 12.8 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.009674, allocations: 0 / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.138e-05/0.009745, allocations: 29.8 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.009766, allocations: 15.98 kB / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.009773, allocations: 0 / 248.9 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.00979, allocations: 3.938 kB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.009861, allocations: 4 kB / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.009864, allocations: 0 / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.009887, allocations: 0 / 248.9 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.009894, allocations: 0 / 248.9 MB, free: 9.773 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 0.000105/0.009999, allocations: 112.7 kB / 249 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.01008, allocations: 41.62 kB / 249.1 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.01011, allocations: 12.33 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01012, allocations: 15.88 kB / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01012, allocations: 0 / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01013, allocations: 240 / 249.1 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.01027, allocations: 73.88 kB / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01027, allocations: 0 / 249.2 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.01033, allocations: 11.98 kB / 249.2 MB, free: 9.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.01038, allocations: 27.86 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01038, allocations: 0 / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01039, allocations: 0 / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01039, allocations: 3.938 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.0104, allocations: 4 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.01054, allocations: 140.3 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01056, allocations: 0 / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.01062, allocations: 4 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.01065, allocations: 11.92 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.01066, allocations: 0 / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.985e-05/0.0107, allocations: 23.94 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000203/0.0109, allocations: 8 kB / 249.4 MB, free: 9.234 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 0.0001218/0.01102, allocations: 80.44 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.394e-05/0.01111, allocations: 16.84 kB / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.01111, allocations: 0 / 249.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.01114, allocations: 16.8 kB / 249.5 MB, free: 9.105 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.01146, allocations: 83.95 kB / 249.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.01246, allocations: 171 kB / 249.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.01251, allocations: 63.34 kB / 249.8 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01254, allocations: 8.188 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.01262, allocations: 55.36 kB / 249.9 MB, free: 8.672 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01262, allocations: 0 / 249.9 MB, free: 8.672 MB / 250.7 MB Notification: Performance of Templates: time 0.003255/0.01587, allocations: 0.5801 MB / 250.5 MB, free: 8.109 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.744770006276667]