Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.000824/0.000824, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001857, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006322/0.0006322, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008099/0.001442, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9802/0.9802, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08773/1.068, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.716e-05, allocations: 2.875 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003176/0.003203, allocations: 1.672 MB / 241.2 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.004047, allocations: 0.5 MB / 241.7 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.004129, allocations: 7.938 kB / 241.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.004172, allocations: 7.922 kB / 241.7 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.004259, allocations: 7.875 kB / 241.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.004516, allocations: 63.67 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.004629, allocations: 47.8 kB / 241.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.221e-05/0.004711, allocations: 8.188 kB / 241.9 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.004825, allocations: 35.89 kB / 241.9 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.004884, allocations: 11.98 kB / 241.9 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004908, allocations: 4 kB / 241.9 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.00492, allocations: 7.938 kB / 241.9 MB, free: 0.793 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.004961, allocations: 8 kB / 241.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.004997, allocations: 11.94 kB / 241.9 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.005124, allocations: 47.7 kB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.739e-05/0.005142, allocations: 0 / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005143, allocations: 0 / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.005161, allocations: 0 / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004403/0.005601, allocations: 284.3 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.005636, allocations: 8.031 kB / 242.3 MB, free: 428 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.005672, allocations: 12.94 kB / 242.3 MB, free: 416 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.005851, allocations: 145.6 kB / 242.4 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.005859, allocations: 384 / 242.4 MB, free: 244 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.00587, allocations: 8.375 kB / 242.4 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.006059, allocations: 115.1 kB / 242.6 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006068, allocations: 4.125 kB / 242.6 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006078, allocations: 4.125 kB / 242.6 MB, free: 88 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006084, allocations: 8 kB / 242.6 MB, free: 80 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.006108, allocations: 7.984 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.006369, allocations: 162 kB / 242.7 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.006436, allocations: 63.7 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.006465, allocations: 22.7 kB / 242.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.006488, allocations: 4 kB / 242.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.006509, allocations: 30.56 kB / 242.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.00651, allocations: 4 kB / 242.9 MB, free: 15.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.006651, allocations: 69.42 kB / 242.9 MB, free: 15.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.006709, allocations: 106.8 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.006799, allocations: 137.2 kB / 243.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.006811, allocations: 25.7 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.006845, allocations: 84.12 kB / 243.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.006863, allocations: 11.89 kB / 243.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.006928, allocations: 17.7 kB / 243.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.00701, allocations: 319.2 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-06/0.007017, allocations: 4 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.007025, allocations: 0 / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.007052, allocations: 12.8 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007054, allocations: 0 / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.565e-05/0.007109, allocations: 33.69 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.007123, allocations: 8 kB / 243.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.007129, allocations: 3.938 kB / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.007139, allocations: 0 / 243.7 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.007201, allocations: 7.984 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007203, allocations: 4.094 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.007223, allocations: 0 / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007228, allocations: 0 / 243.7 MB, free: 14.82 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.742e-05/0.007295, allocations: 112.7 kB / 243.8 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.007357, allocations: 45.62 kB / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.007394, allocations: 19.86 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.007396, allocations: 0 / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.007401, allocations: 4 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.007406, allocations: 3.984 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.007525, allocations: 69.89 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007527, allocations: 4.062 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.00757, allocations: 11.98 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.007604, allocations: 19.94 kB / 244 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007606, allocations: 0 / 244 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.007609, allocations: 0 / 244 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.007613, allocations: 7.938 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007615, allocations: 3.938 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.223e-05/0.007707, allocations: 137.3 kB / 244.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.007721, allocations: 4 kB / 244.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.007783, allocations: 11.97 kB / 244.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.00781, allocations: 7.938 kB / 244.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.007814, allocations: 0 / 244.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.007848, allocations: 28.81 kB / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007848, allocations: 0 / 244.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.008035, allocations: 8 kB / 244.2 MB, free: 14.26 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 9.067e-05/0.008126, allocations: 80.36 kB / 244.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.703e-05/0.008193, allocations: 16.86 kB / 244.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.008199, allocations: 4 kB / 244.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.008212, allocations: 12.91 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.008474, allocations: 32.73 kB / 244.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/0.009407, allocations: 191.7 kB / 244.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.00945, allocations: 59.34 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.009481, allocations: 4 kB / 244.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.009542, allocations: 55.61 kB / 244.6 MB, free: 13.75 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009543, allocations: 4 kB / 244.6 MB, free: 13.74 MB / 250.7 MB Notification: Performance of Templates: time 0.00299/0.01253, allocations: 0.6756 MB / 245.3 MB, free: 13.08 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.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.392932931892574]