Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.633/1.633, allocations: 230.4 MB / 251.1 MB, free: 8.445 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.81 kB / 369 MB, free: 6.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 53.31 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00407/0.3774, allocations: 1.878 MB / 424.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3791, allocations: 0.7091 MB / 424.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.3792, allocations: 4 kB / 424.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.3795, allocations: 19.73 kB / 424.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.3796, allocations: 27.78 kB / 424.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.3801, allocations: 114.4 kB / 425 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.3804, allocations: 147.6 kB / 425.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.3807, allocations: 45.7 kB / 425.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.3809, allocations: 67.7 kB / 425.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.381, allocations: 51.66 kB / 425.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.381, allocations: 8 kB / 425.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.3811, allocations: 16 kB / 425.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.3812, allocations: 27.92 kB / 425.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.3813, allocations: 71.47 kB / 425.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3816, allocations: 142.9 kB / 425.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3816, allocations: 0 / 425.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3816, allocations: 0 / 425.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.3816, allocations: 4 kB / 425.6 MB, free: 4.535 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008989/0.3825, allocations: 462.7 kB / 426 MB, free: 4.035 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3826, allocations: 8.031 kB / 426.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.3828, allocations: 28.83 kB / 426.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.3833, allocations: 260.9 kB / 426.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3833, allocations: 12.12 kB / 426.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.3833, allocations: 4 kB / 426.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.384, allocations: 284.2 kB / 426.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.384, allocations: 0 / 426.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.384, allocations: 4 kB / 426.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.384, allocations: 4 kB / 426.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.3842, allocations: 75.86 kB / 426.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.3849, allocations: 431.4 kB / 427.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.3854, allocations: 286.2 kB / 427.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3856, allocations: 108.2 kB / 427.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3856, allocations: 4 kB / 427.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.3857, allocations: 38.56 kB / 427.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.3857, allocations: 0 / 427.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005966/0.3863, allocations: 229.2 kB / 427.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.3864, allocations: 191.9 kB / 428 MB, free: 1.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3866, allocations: 186.8 kB / 428.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3867, allocations: 30.08 kB / 428.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3868, allocations: 104.5 kB / 428.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3868, allocations: 15.88 kB / 428.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.3869, allocations: 41.66 kB / 428.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.387, allocations: 322.8 kB / 428.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.3871, allocations: 27.98 kB / 428.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.3873, allocations: 143.4 kB / 428.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3875, allocations: 170.4 kB / 429 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3875, allocations: 4 kB / 429 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002906/0.3878, allocations: 169.2 kB / 429.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3879, allocations: 12.52 kB / 429.2 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3879, allocations: 11.94 kB / 429.2 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3879, allocations: 4 kB / 429.2 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.388, allocations: 39.92 kB / 429.2 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.3881, allocations: 7.938 kB / 429.2 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3882, allocations: 15.89 kB / 429.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3882, allocations: 15.98 kB / 429.3 MB, free: 404 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.0001615/0.3883, allocations: 133.7 kB / 429.4 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.3887, allocations: 145.5 kB / 429.5 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.3887, allocations: 21.39 kB / 429.6 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3887, allocations: 4 kB / 429.6 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3887, allocations: 4 kB / 429.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.3887, allocations: 3.938 kB / 429.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.3891, allocations: 225.5 kB / 429.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3891, allocations: 0 / 429.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3892, allocations: 35.97 kB / 429.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3892, allocations: 4 kB / 429.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3893, allocations: 0 / 429.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3893, allocations: 11.97 kB / 429.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3893, allocations: 7.875 kB / 429.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.3897, allocations: 361.1 kB / 430.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3898, allocations: 113 kB / 430.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3899, allocations: 8 kB / 430.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.39, allocations: 4 kB / 430.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3901, allocations: 16.16 kB / 430.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3901, allocations: 4 kB / 430.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3902, allocations: 140.4 kB / 430.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3902, allocations: 0 / 430.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3905, allocations: 23.95 kB / 430.5 MB, free: 15.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 0.0001766/0.3907, allocations: 115.2 kB / 430.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.391, allocations: 112.8 kB / 430.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.391, allocations: 0 / 430.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.3911, allocations: 16 kB / 430.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.3918, allocations: 110.5 kB / 430.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.3924, allocations: 315.2 kB / 431.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.3928, allocations: 0.7321 MB / 431.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.3929, allocations: 17.48 kB / 431.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.3929, allocations: 15.44 kB / 431.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3929, allocations: 0 / 431.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Templates: time 0.005561/0.3985, allocations: 1.811 MB / 433.7 MB, free: 11.78 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches