Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001911/0.003091, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00112/0.00112, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001522/0.002642, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.03/1.03, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.131, allocations: 53.88 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.911e-05, allocations: 6.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002215/0.002234, allocations: 1.689 MB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007072/0.002941, allocations: 0.5412 MB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.003034, allocations: 0 / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.003073, allocations: 11.88 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.00315, allocations: 7.938 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.003374, allocations: 59.73 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003474, allocations: 47.8 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.003549, allocations: 12.17 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.003679, allocations: 51.83 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.003732, allocations: 11.98 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.003747, allocations: 4 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.0038, allocations: 8 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.003841, allocations: 11.94 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.003861, allocations: 11.94 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003976, allocations: 47.77 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.003987, allocations: 3.938 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.003988, allocations: 0 / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.003998, allocations: 0 / 247.7 MB, free: 11 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.0003765/0.004374, allocations: 296.2 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.004408, allocations: 8.625 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.004566, allocations: 98.03 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.004721, allocations: 150.2 kB / 248.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.004727, allocations: 384 / 248.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.004739, allocations: 8.375 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.004899, allocations: 114.9 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.004905, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.004912, allocations: 0 / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.004916, allocations: 4 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.004934, allocations: 19.92 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.005098, allocations: 154.1 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.005157, allocations: 59.72 kB / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.005178, allocations: 22.7 kB / 248.6 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.005196, allocations: 7.938 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.005216, allocations: 34.5 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.005217, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001121/0.005329, allocations: 61.55 kB / 248.7 MB, free: 9.824 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.005377, allocations: 114.8 kB / 248.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.005451, allocations: 142 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005461, allocations: 25.7 kB / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.005491, allocations: 84.14 kB / 249.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.005507, allocations: 11.88 kB / 249.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.005532, allocations: 17.7 kB / 249.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.005621, allocations: 314.8 kB / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.005629, allocations: 384 / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.005635, allocations: 4 kB / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.00566, allocations: 12.84 kB / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.005662, allocations: 0 / 249.5 MB, free: 9.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.472e-05/0.005707, allocations: 41.58 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.005719, allocations: 4 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.005724, allocations: 0 / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.005734, allocations: 0 / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.005788, allocations: 7.984 kB / 249.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.00579, allocations: 0 / 249.5 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/0.005803, allocations: 4.094 kB / 249.5 MB, free: 8.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.005809, allocations: 4 kB / 249.5 MB, free: 8.984 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.399e-05/0.005863, allocations: 108.7 kB / 249.6 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.005908, allocations: 49.56 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.005933, allocations: 11.95 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.005938, allocations: 4 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00594, allocations: 0 / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.005943, allocations: 0 / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.57e-05/0.006028, allocations: 73.88 kB / 249.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.00603, allocations: 4.062 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.006064, allocations: 12 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.006093, allocations: 27.81 kB / 249.8 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.006096, allocations: 4 kB / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.006101, allocations: 0 / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006102, allocations: 0 / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006103, allocations: 0 / 249.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.786e-05/0.006181, allocations: 145.2 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.00619, allocations: 3.938 kB / 250 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.006222, allocations: 11.94 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.006246, allocations: 12 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.00625, allocations: 4 kB / 250 MB, free: 8.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.006277, allocations: 28.83 kB / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.006278, allocations: 0 / 250 MB, free: 8.434 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.006387, allocations: 4 kB / 250 MB, free: 8.43 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 8.006e-05/0.006467, allocations: 76.42 kB / 250.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.742e-05/0.006525, allocations: 24.78 kB / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.006529, allocations: 0 / 250.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.006546, allocations: 12.95 kB / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.006764, allocations: 105.9 kB / 250.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.007437, allocations: 195.7 kB / 250.4 MB, free: 7.953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.919e-05/0.007476, allocations: 67.28 kB / 250.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.007499, allocations: 0 / 250.5 MB, free: 7.867 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.007558, allocations: 63.36 kB / 250.5 MB, free: 7.805 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007558, allocations: 352 / 250.5 MB, free: 7.805 MB / 250.7 MB Notification: Performance of Templates: time 0.0024/0.009959, allocations: 0.6759 MB / 251.2 MB, free: 7.141 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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.3246782794594765]