Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0007805/0.0007805, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009937/0.001774, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007174/0.0007174, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008962/0.001614, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9439/0.9439, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.03, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.157e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002457/0.002478, allocations: 1.686 MB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.003292, allocations: 0.5763 MB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.004407, allocations: 3.938 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.004453, allocations: 3.938 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.004542, allocations: 15.86 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.004781, allocations: 63.73 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.004877, allocations: 51.8 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.004955, allocations: 16.12 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.005092, allocations: 47.83 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.00514, allocations: 11.92 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.005154, allocations: 4 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.005209, allocations: 4 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.005245, allocations: 19.92 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.005261, allocations: 11.94 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.005384, allocations: 39.84 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.0054, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.005401, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.005414, allocations: 4 kB / 247.6 MB, free: 11.07 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.0003696/0.005784, allocations: 300.2 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.005814, allocations: 8.031 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.005948, allocations: 94.03 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.006099, allocations: 150.1 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.006106, allocations: 4.312 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.006113, allocations: 4.375 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.006268, allocations: 122.9 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.006274, allocations: 0 / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.006288, allocations: 4 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006292, allocations: 0 / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.006311, allocations: 11.94 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.006479, allocations: 154 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.006536, allocations: 59.73 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.006555, allocations: 22.7 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.006575, allocations: 7.984 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.006596, allocations: 38.44 kB / 248.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006597, allocations: 0 / 248.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001096/0.006707, allocations: 53.62 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.006753, allocations: 110.8 kB / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.006828, allocations: 150 kB / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.006837, allocations: 26.08 kB / 248.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.006866, allocations: 88.14 kB / 248.9 MB, free: 9.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.00688, allocations: 3.953 kB / 249 MB, free: 9.484 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.006903, allocations: 17.7 kB / 249 MB, free: 9.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.006975, allocations: 314.8 kB / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.006983, allocations: 0 / 249.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.006989, allocations: 4 kB / 249.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.007011, allocations: 8.859 kB / 249.3 MB, free: 9.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007013, allocations: 0 / 249.3 MB, free: 9.129 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.901e-05/0.007052, allocations: 41.62 kB / 249.3 MB, free: 9.082 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007064, allocations: 8.031 kB / 249.3 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.007069, allocations: 4 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.007077, allocations: 0 / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.007139, allocations: 4 kB / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007142, allocations: 0 / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.007157, allocations: 0 / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007163, allocations: 7.984 kB / 249.4 MB, free: 9.059 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.143e-05/0.007224, allocations: 116.7 kB / 249.5 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.007264, allocations: 49.56 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.007291, allocations: 7.969 kB / 249.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.007294, allocations: 12 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007295, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.007298, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.44e-05/0.007383, allocations: 73.88 kB / 249.6 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007384, allocations: 4 kB / 249.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.007423, allocations: 15.97 kB / 249.6 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.007448, allocations: 15.84 kB / 249.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.00745, allocations: 4 kB / 249.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007455, allocations: 3.984 kB / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007456, allocations: 0 / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007457, allocations: 0 / 249.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.936e-05/0.007526, allocations: 153.2 kB / 249.8 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.007537, allocations: 3.938 kB / 249.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.108e-05/0.007568, allocations: 4 kB / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.007587, allocations: 0 / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.007589, allocations: 0 / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.462e-05/0.007613, allocations: 32.83 kB / 249.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007614, allocations: 0 / 249.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001093/0.007723, allocations: 7.938 kB / 249.8 MB, free: 8.504 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.562e-05/0.007809, allocations: 84.44 kB / 249.9 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.01e-05/0.007869, allocations: 16.8 kB / 249.9 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.007872, allocations: 0 / 249.9 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.007881, allocations: 4.859 kB / 250 MB, free: 8.383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.008078, allocations: 31.89 kB / 250 MB, free: 8.352 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.008753, allocations: 192 kB / 250.2 MB, free: 8.133 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.008796, allocations: 67.34 kB / 250.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.237e-05/0.008819, allocations: 3.984 kB / 250.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.008873, allocations: 59.36 kB / 250.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008873, allocations: 0 / 250.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of Templates: time 0.002116/0.01099, allocations: 0.6742 MB / 251 MB, free: 7.324 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.396841757930815]