Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001/0.001, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002396, allocations: 449.8 kB / 10.44 MB, free: 248 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.0007828/0.0007828, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001916, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.9989/0.9989, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09884/1.098, allocations: 53.66 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.574e-05, allocations: 9.688 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001989/0.002005, allocations: 1.689 MB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.002624, allocations: 0.5652 MB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.002698, allocations: 0 / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.002739, allocations: 15.86 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.002811, allocations: 15.86 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.003016, allocations: 59.75 kB / 247.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.003128, allocations: 47.8 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.003213, allocations: 20.09 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.003341, allocations: 43.91 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.003396, allocations: 23.91 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.003412, allocations: 4 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.003463, allocations: 4 kB / 247.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.003503, allocations: 11.94 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.00352, allocations: 15.94 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003636, allocations: 47.77 kB / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.281e-05/0.003649, allocations: 0 / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003649, allocations: 0 / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.00366, allocations: 0 / 247.3 MB, free: 11.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004069/0.004067, allocations: 288.2 kB / 247.6 MB, free: 11.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004102, allocations: 8.031 kB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.004253, allocations: 98.03 kB / 247.7 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.004426, allocations: 150.2 kB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004436, allocations: 8.312 kB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.004448, allocations: 4.375 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.004616, allocations: 118.8 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004624, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.004632, allocations: 4 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004637, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.004656, allocations: 15.98 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.004849, allocations: 154 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.999e-05/0.004919, allocations: 59.78 kB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.004946, allocations: 30.61 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.004967, allocations: 4 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.00499, allocations: 34.5 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.004991, allocations: 0 / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001259/0.005117, allocations: 61.89 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.005167, allocations: 110.8 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.005251, allocations: 137.7 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.005263, allocations: 25.7 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.005296, allocations: 84.12 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.005313, allocations: 11.94 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.005337, allocations: 13.72 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.005433, allocations: 318.8 kB / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.005441, allocations: 0 / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.001e-06/0.005447, allocations: 0 / 249 MB, free: 9.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.005473, allocations: 20.88 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005475, allocations: 0 / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.63e-05/0.005512, allocations: 37.64 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005522, allocations: 4 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005527, allocations: 0 / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.005541, allocations: 0 / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.005592, allocations: 7.984 kB / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005594, allocations: 0 / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.005606, allocations: 0 / 249 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005611, allocations: 0 / 249 MB, free: 9.629 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 5.546e-05/0.005667, allocations: 116.7 kB / 249.2 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.005705, allocations: 49.56 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.005733, allocations: 11.95 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.005735, allocations: 4 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.005737, allocations: 0 / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005741, allocations: 3.938 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/0.005834, allocations: 77.88 kB / 249.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.005836, allocations: 4 kB / 249.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.005862, allocations: 7.938 kB / 249.3 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.005889, allocations: 23.94 kB / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.00589, allocations: 0 / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.005896, allocations: 4 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005897, allocations: 0 / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.005898, allocations: 0 / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/0.00597, allocations: 141.3 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.005981, allocations: 3.938 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.006015, allocations: 12 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.006039, allocations: 3.984 kB / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.006041, allocations: 0 / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.00607, allocations: 32.86 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00607, allocations: 3.938 kB / 249.5 MB, free: 9.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001145/0.006184, allocations: 11.89 kB / 249.6 MB, free: 9.066 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 7.29e-05/0.006257, allocations: 76.42 kB / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.265e-05/0.00632, allocations: 20.84 kB / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.006323, allocations: 0 / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.006339, allocations: 8.859 kB / 249.7 MB, free: 8.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.006567, allocations: 117.2 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.007205, allocations: 191.7 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.007259, allocations: 67.34 kB / 250 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.897e-05/0.007278, allocations: 0 / 250 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.007333, allocations: 55.38 kB / 250.1 MB, free: 8.453 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007333, allocations: 0 / 250.1 MB, free: 8.453 MB / 250.7 MB Notification: Performance of Templates: time 0.002193/0.009526, allocations: 0.6876 MB / 250.8 MB, free: 7.789 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.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.61547342967242]