Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001122/0.001122, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00154/0.002662, 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.0009718/0.0009718, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001309/0.002281, 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.8963/0.8963, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09406/0.9903, allocations: 52.49 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.19e-05, allocations: 6.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003001/0.003023, allocations: 1.645 MB / 241.2 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005372/0.00356, allocations: 476.1 kB / 241.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.003618, allocations: 4 kB / 241.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.003648, allocations: 3.938 kB / 241.7 MB, free: 1.039 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.003709, allocations: 11.92 kB / 241.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.00386, allocations: 39.78 kB / 241.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.003941, allocations: 39.86 kB / 241.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.604e-05/0.004007, allocations: 7.984 kB / 241.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.004094, allocations: 35.84 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.004137, allocations: 11.98 kB / 241.8 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004156, allocations: 7.938 kB / 241.8 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.004165, allocations: 4 kB / 241.8 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.004195, allocations: 4 kB / 241.8 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.004217, allocations: 11.94 kB / 241.8 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.004297, allocations: 39.83 kB / 241.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.00431, allocations: 0 / 241.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004311, allocations: 0 / 241.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.004322, allocations: 4 kB / 241.9 MB, free: 0.8242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003292/0.004652, allocations: 276.3 kB / 242.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.004679, allocations: 8.031 kB / 242.2 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.004705, allocations: 4.938 kB / 242.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.004843, allocations: 141.5 kB / 242.3 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.00485, allocations: 8.297 kB / 242.3 MB, free: 356 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.004858, allocations: 8.375 kB / 242.3 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.005003, allocations: 90.38 kB / 242.4 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00501, allocations: 8.109 kB / 242.4 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.005016, allocations: 384 / 242.4 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005022, allocations: 3.938 kB / 242.4 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.563e-05/0.005037, allocations: 4 kB / 242.4 MB, free: 220 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.005193, allocations: 145.2 kB / 242.6 MB, free: 56 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.005245, allocations: 45.14 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.005259, allocations: 17.72 kB / 242.6 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.005275, allocations: 4.062 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.005293, allocations: 30.56 kB / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.005293, allocations: 0 / 242.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.439e-05/0.005388, allocations: 45.56 kB / 242.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.005424, allocations: 85.05 kB / 242.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.005511, allocations: 137.2 kB / 242.9 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.00552, allocations: 25.7 kB / 243 MB, free: 15.6 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.005546, allocations: 80.39 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.005558, allocations: 8 kB / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.005583, allocations: 17.66 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.472e-05/0.005648, allocations: 318.8 kB / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-06/0.005654, allocations: 0 / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.005659, allocations: 0 / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.005676, allocations: 8.859 kB / 243.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.005678, allocations: 3.984 kB / 243.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.402e-05/0.005713, allocations: 33.64 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005724, allocations: 8 kB / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.00573, allocations: 4.094 kB / 243.4 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.005739, allocations: 3.938 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.005795, allocations: 7.984 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005797, allocations: 3.938 kB / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.00581, allocations: 0 / 243.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.005815, allocations: 0 / 243.4 MB, free: 15.08 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 4.742e-05/0.005863, allocations: 116.7 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.005888, allocations: 33.69 kB / 243.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.005914, allocations: 11.77 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005917, allocations: 3.938 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00592, allocations: 8.031 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005922, allocations: 0 / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.721e-05/0.005999, allocations: 73.88 kB / 243.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006, allocations: 0 / 243.7 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.006021, allocations: 7.938 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.006044, allocations: 19.94 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006045, allocations: 0 / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.006048, allocations: 0 / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.00605, allocations: 3.938 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006052, allocations: 4 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.534e-05/0.006147, allocations: 136.4 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.006155, allocations: 0 / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.006183, allocations: 0 / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.006204, allocations: 11.92 kB / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.006206, allocations: 0 / 243.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.072e-05/0.006226, allocations: 31.48 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006227, allocations: 0 / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000107/0.006334, allocations: 4 kB / 243.9 MB, free: 14.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.979e-05/0.006393, allocations: 84.3 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.006442, allocations: 16.89 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.006447, allocations: 4 kB / 244 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/0.006455, allocations: 4.859 kB / 244 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.006627, allocations: 24.28 kB / 244 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.007226, allocations: 171.5 kB / 244.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.007262, allocations: 63.28 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.007282, allocations: 4.219 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.007325, allocations: 55.36 kB / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007325, allocations: 0 / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of Templates: time 0.001933/0.009258, allocations: 0.5302 MB / 244.8 MB, free: 13.56 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.3365005208179355]