Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001053/0.001053, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002464, 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.0008945/0.0008945, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.0021, 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.9379/0.9379, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09524/1.033, allocations: 52.49 MB / 238.3 MB, free: 4.426 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.143e-05, allocations: 2.312 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.0026/0.002621, allocations: 1.769 MB / 241.3 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.002904, allocations: 176.9 kB / 241.5 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.002979, allocations: 7.938 kB / 241.5 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.003017, allocations: 3.938 kB / 241.5 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.003087, allocations: 11.86 kB / 241.5 MB, free: 1.176 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003258, allocations: 51.77 kB / 241.6 MB, free: 1.125 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003363, allocations: 51.81 kB / 241.6 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.003443, allocations: 23.97 kB / 241.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.003504, allocations: 31.91 kB / 241.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.003553, allocations: 27.91 kB / 241.7 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.003575, allocations: 4 kB / 241.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.003585, allocations: 4 kB / 241.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.003625, allocations: 19.92 kB / 241.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.003648, allocations: 11.94 kB / 241.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.933e-05/0.003748, allocations: 47.77 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.003758, allocations: 0 / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.003759, allocations: 0 / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.00377, allocations: 0 / 241.8 MB, free: 0.9062 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003593/0.004129, allocations: 300.2 kB / 242.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.004159, allocations: 12.03 kB / 242.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.00419, allocations: 16.92 kB / 242.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004343, allocations: 141.5 kB / 242.3 MB, free: 404 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.004351, allocations: 4.375 kB / 242.3 MB, free: 400 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.00436, allocations: 4.375 kB / 242.3 MB, free: 396 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.004572, allocations: 158.4 kB / 242.4 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.00458, allocations: 4.188 kB / 242.4 MB, free: 212 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.004591, allocations: 8.359 kB / 242.4 MB, free: 204 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.004599, allocations: 4.375 kB / 242.4 MB, free: 200 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.004638, allocations: 15.88 kB / 242.4 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.004957, allocations: 245.3 kB / 242.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.005145, allocations: 87.69 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.005181, allocations: 34.64 kB / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.005209, allocations: 11.92 kB / 242.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00523, allocations: 38.56 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.005232, allocations: 0 / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001453/0.005378, allocations: 85.67 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.005429, allocations: 114.8 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.005498, allocations: 129.2 kB / 243.2 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.005507, allocations: 29.7 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.005536, allocations: 80.14 kB / 243.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.005555, allocations: 19.88 kB / 243.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.005578, allocations: 21.66 kB / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.005662, allocations: 311.1 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.005672, allocations: 4 kB / 243.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.00569, allocations: 13.72 kB / 243.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.005715, allocations: 17.7 kB / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005717, allocations: 0 / 243.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.94e-05/0.005766, allocations: 41.62 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.005779, allocations: 8 kB / 243.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005784, allocations: 0 / 243.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.005793, allocations: 8 kB / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.005832, allocations: 8 kB / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.005835, allocations: 0 / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.00585, allocations: 8 kB / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.005854, allocations: 0 / 243.7 MB, free: 14.74 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.633e-05/0.00591, allocations: 120.6 kB / 243.9 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.005961, allocations: 53.67 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.005991, allocations: 16.78 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.005995, allocations: 7.938 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.005997, allocations: 0 / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006001, allocations: 3.984 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.006119, allocations: 81.88 kB / 244 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006121, allocations: 3.984 kB / 244 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.006161, allocations: 16 kB / 244 MB, free: 14.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.006192, allocations: 27.88 kB / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006193, allocations: 0 / 244.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.006199, allocations: 4 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.0062, allocations: 0 / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006202, allocations: 3.938 kB / 244.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.006303, allocations: 215.7 kB / 244.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.006315, allocations: 8.031 kB / 244.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.006368, allocations: 4 kB / 244.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.006392, allocations: 11.92 kB / 244.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.006395, allocations: 0 / 244.3 MB, free: 14.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.006421, allocations: 35.42 kB / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006421, allocations: 0 / 244.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.006555, allocations: 8 kB / 244.3 MB, free: 14.07 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 (10): * Single equations (assignments): 10 * 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.422e-05/0.006629, allocations: 80.36 kB / 244.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.006693, allocations: 28.78 kB / 244.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.006697, allocations: 4.125 kB / 244.5 MB, free: 13.95 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/0.006707, allocations: 8.859 kB / 244.5 MB, free: 13.94 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.006958, allocations: 45.89 kB / 244.5 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.00751, allocations: 203.3 kB / 244.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.007551, allocations: 71.28 kB / 244.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.00757, allocations: 0 / 244.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.007616, allocations: 55.38 kB / 244.8 MB, free: 13.51 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.007617, allocations: 4.125 kB / 244.8 MB, free: 13.51 MB / 250.7 MB Notification: Performance of Templates: time 0.002363/0.00998, allocations: 0.7221 MB / 245.6 MB, free: 12.79 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.436109809204936]