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.001731/0.001731, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.001868/0.001868, allocations: 159.1 kB / 24.48 MB, free: 3.465 MB / 14.72 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 1.485/1.485, allocations: 173.4 MB / 201.1 MB, free: 12.6 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00157/0.00157, allocations: 47.48 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.09102, allocations: 52.17 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003006/0.09402, allocations: 1.694 MB / 373.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.09444, allocations: 159.5 kB / 373.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.09451, allocations: 7.938 kB / 373.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.09456, allocations: 7.875 kB / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.09468, allocations: 11.86 kB / 373.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.0949, allocations: 43.89 kB / 373.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.09501, allocations: 51.84 kB / 373.6 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.09512, allocations: 23.92 kB / 373.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.09516, allocations: 27.86 kB / 373.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.09521, allocations: 27.84 kB / 373.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.09523, allocations: 4 kB / 373.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.09524, allocations: 8 kB / 373.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.09529, allocations: 11.94 kB / 373.7 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.09532, allocations: 23.8 kB / 373.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.09545, allocations: 79.59 kB / 373.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09545, allocations: 0 / 373.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09546, allocations: 0 / 373.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.09546, allocations: 0 / 373.8 MB, free: 5.184 MB / 334.1 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.0004601/0.09592, allocations: 310 kB / 374.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.09595, allocations: 8.922 kB / 374.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.09599, allocations: 24.83 kB / 374.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.09621, allocations: 142.3 kB / 374.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-06/0.09622, allocations: 384 / 374.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.09624, allocations: 8.375 kB / 374.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.09657, allocations: 170.3 kB / 374.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.09658, allocations: 4.188 kB / 374.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.09659, allocations: 3.938 kB / 374.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.0966, allocations: 4 kB / 374.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.09671, allocations: 35.97 kB / 374.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.09705, allocations: 301.5 kB / 374.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.09729, allocations: 111.8 kB / 374.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.09739, allocations: 54.61 kB / 374.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.09741, allocations: 15.92 kB / 374.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.09744, allocations: 42.56 kB / 375 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.09744, allocations: 0 / 375 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003442/0.09779, allocations: 125.6 kB / 375.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.09786, allocations: 110.8 kB / 375.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.09799, allocations: 137.8 kB / 375.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.09801, allocations: 25.7 kB / 375.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.09806, allocations: 84.14 kB / 375.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.09808, allocations: 19.88 kB / 375.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.09812, allocations: 21.97 kB / 375.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.09827, allocations: 322.8 kB / 375.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.09832, allocations: 19.98 kB / 375.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.0984, allocations: 67.66 kB / 375.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.09854, allocations: 95.59 kB / 376 MB, free: 2.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.09855, allocations: 4 kB / 376 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.09874, allocations: 105.4 kB / 376.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.09875, allocations: 8 kB / 376.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.09876, allocations: 288 / 376.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.09877, allocations: 8 kB / 376.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.09884, allocations: 23.92 kB / 376.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.09885, allocations: 0 / 376.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.0989, allocations: 11.98 kB / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.09891, allocations: 8 kB / 376.1 MB, free: 2.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 prepare postOptimizeDAE: time 9.662e-05/0.09901, allocations: 125.7 kB / 376.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.09914, allocations: 77.59 kB / 376.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.09918, allocations: 16.78 kB / 376.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.09918, allocations: 0 / 376.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.09919, allocations: 8 kB / 376.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.09919, allocations: 3.984 kB / 376.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.09939, allocations: 117.3 kB / 376.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.09939, allocations: 3.938 kB / 376.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.09947, allocations: 19.98 kB / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.09947, allocations: 0 / 376.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.09948, allocations: 4 kB / 376.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.09949, allocations: 3.938 kB / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.09949, allocations: 0 / 376.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.09986, allocations: 316.3 kB / 376.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.0999, allocations: 28.11 kB / 376.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.09992, allocations: 4 kB / 376.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1, allocations: 7.938 kB / 376.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1, allocations: 3.938 kB / 376.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1001, allocations: 7.938 kB / 376.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.439e-05/0.1001, allocations: 110.1 kB / 377 MB, free: 1.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1001, allocations: 0 / 377 MB, free: 1.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1004, allocations: 12 kB / 377 MB, free: 1.59 MB / 334.1 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 8.779e-05/0.1005, allocations: 99.25 kB / 377.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.1007, allocations: 67.83 kB / 377.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1007, allocations: 0 / 377.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.1007, allocations: 11.92 kB / 377.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1011, allocations: 47.95 kB / 377.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1015, allocations: 204.8 kB / 377.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.183e-05/0.1016, allocations: 87.31 kB / 377.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.1017, allocations: 8.719 kB / 377.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.1017, allocations: 12.5 kB / 377.5 MB, free: 1 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1017, allocations: 0 / 377.5 MB, free: 1 MB / 334.1 MB Notification: Performance of Templates: time 0.003148/0.1048, allocations: 0.755 MB / 378.3 MB, free: 264 kB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.287150612915866]