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.000926/0.000926, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002168, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009044/0.0009044, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002065, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08896/1.138, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.613e-06/1.613e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.501e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003094/0.003119, allocations: 1.689 MB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009668/0.004085, allocations: 0.5654 MB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.004179, allocations: 0 / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.567e-05/0.004235, allocations: 11.86 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.004329, allocations: 11.88 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.00461, allocations: 63.67 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.004735, allocations: 47.86 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.004828, allocations: 16.09 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.004997, allocations: 39.91 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.005059, allocations: 23.91 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.005078, allocations: 4 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.005143, allocations: 4 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.005185, allocations: 11.94 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.005209, allocations: 15.88 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.005351, allocations: 47.83 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.005367, allocations: 0 / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005368, allocations: 0 / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.005383, allocations: 0 / 247.1 MB, free: 11.74 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.0004601/0.005843, allocations: 300.2 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.00588, allocations: 8.031 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.006067, allocations: 90.03 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.006267, allocations: 154.2 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006277, allocations: 4.312 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.006286, allocations: 4.375 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.006483, allocations: 118.9 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006492, allocations: 0 / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.006501, allocations: 4 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006507, allocations: 0 / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.006535, allocations: 8 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.006745, allocations: 158 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.655e-05/0.006822, allocations: 63.78 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.006851, allocations: 22.62 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.00688, allocations: 8 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.006908, allocations: 34.5 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.006909, allocations: 0 / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001548/0.007064, allocations: 57.56 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.007135, allocations: 110.8 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.007236, allocations: 134.7 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.007249, allocations: 29.7 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.007288, allocations: 84.12 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.007303, allocations: 8.328 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.007334, allocations: 17.7 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.007425, allocations: 318.8 kB / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.007432, allocations: 0 / 248.8 MB, free: 9.816 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.007439, allocations: 3.938 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.007466, allocations: 16.8 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.007469, allocations: 3.984 kB / 248.8 MB, free: 9.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.835e-05/0.007528, allocations: 37.64 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.007543, allocations: 7.594 kB / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007547, allocations: 0 / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.007557, allocations: 4.094 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.007623, allocations: 7.984 kB / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.007626, allocations: 0 / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.007646, allocations: 0 / 248.9 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.007651, allocations: 0 / 248.9 MB, free: 9.73 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.398e-05/0.007715, allocations: 116.7 kB / 249 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.007784, allocations: 49.56 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.007812, allocations: 7.969 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.007815, allocations: 4 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.007819, allocations: 8.047 kB / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007823, allocations: 0 / 249 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.007949, allocations: 73.88 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.007952, allocations: 4 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.008001, allocations: 7.938 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.008037, allocations: 23.86 kB / 249.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.00804, allocations: 0 / 249.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.008047, allocations: 4 kB / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008049, allocations: 0 / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008051, allocations: 0 / 249.2 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.00815, allocations: 149.3 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.008165, allocations: 3.938 kB / 249.3 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.008224, allocations: 4 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.008247, allocations: 0 / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.008253, allocations: 3.984 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.008289, allocations: 31.83 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.008289, allocations: 3.938 kB / 249.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001952/0.008485, allocations: 15.89 kB / 249.4 MB, free: 9.172 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.634e-05/0.008581, allocations: 76.42 kB / 249.4 MB, free: 9.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.008654, allocations: 16.89 kB / 249.5 MB, free: 9.066 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.008661, allocations: 3.984 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.008675, allocations: 12.8 kB / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.008958, allocations: 36.11 kB / 249.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.009902, allocations: 179.8 kB / 249.7 MB, free: 8.805 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.009954, allocations: 63.34 kB / 249.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.009993, allocations: 16.3 kB / 249.8 MB, free: 8.707 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.01005, allocations: 51.38 kB / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01005, allocations: 0 / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of Templates: time 0.003076/0.01313, allocations: 0.6779 MB / 250.5 MB, free: 7.996 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4522926388308406]