Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3724, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003623/0.3761, allocations: 1.623 MB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3773, allocations: 0.561 MB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3774, allocations: 7.938 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/0.3775, allocations: 7.875 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.3776, allocations: 15.84 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.378, allocations: 59.81 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.3782, allocations: 55.84 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3783, allocations: 20 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3784, allocations: 39.78 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.3785, allocations: 23.86 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3785, allocations: 0 / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.3786, allocations: 8 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.3787, allocations: 15.92 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.3787, allocations: 43.72 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3789, allocations: 63.53 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3789, allocations: 0 / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.379, allocations: 4 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.379, allocations: 0 / 411.8 MB, free: 15.04 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005604/0.3795, allocations: 391 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3796, allocations: 11.97 kB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.3798, allocations: 20.88 kB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.38, allocations: 212.1 kB / 412.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3801, allocations: 384 / 412.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.3801, allocations: 12.12 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.3804, allocations: 134.6 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3805, allocations: 4 kB / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3805, allocations: 0 / 412.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3805, allocations: 4 kB / 412.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.693e-05/0.3806, allocations: 23.92 kB / 412.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.381, allocations: 295.4 kB / 412.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3812, allocations: 90.36 kB / 413 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.3812, allocations: 55.48 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3813, allocations: 0 / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3813, allocations: 34.56 kB / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.3813, allocations: 0 / 413.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003259/0.3816, allocations: 106 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.3817, allocations: 132.5 kB / 413.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3819, allocations: 150.4 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3819, allocations: 25.7 kB / 413.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.382, allocations: 88.08 kB / 413.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.382, allocations: 11.95 kB / 413.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3821, allocations: 25.66 kB / 413.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3822, allocations: 322.8 kB / 413.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.872e-05/0.3823, allocations: 11.98 kB / 413.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.3824, allocations: 44.28 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3825, allocations: 60.22 kB / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3825, allocations: 0 / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001748/0.3827, allocations: 85.5 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3827, allocations: 4 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3827, allocations: 4.156 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3827, allocations: 4 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.3828, allocations: 15.98 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3828, allocations: 0 / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.3829, allocations: 11.94 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3829, allocations: 4 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.0001056/0.383, allocations: 125.7 kB / 414.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.3831, allocations: 53.59 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.3832, allocations: 23.88 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3832, allocations: 4.125 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3832, allocations: 7.938 kB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.3832, allocations: 3.938 kB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3834, allocations: 181.6 kB / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3834, allocations: 0 / 414.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.3835, allocations: 19.91 kB / 414.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3835, allocations: 4 kB / 414.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3835, allocations: 0 / 414.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3835, allocations: 4 kB / 414.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3835, allocations: 0 / 414.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3838, allocations: 206 kB / 414.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.3838, allocations: 96.98 kB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3839, allocations: 4 kB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.3839, allocations: 4 kB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.384, allocations: 15.86 kB / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.384, allocations: 0 / 414.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.3841, allocations: 118.4 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3841, allocations: 0 / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3843, allocations: 8 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001099/0.3844, allocations: 95.25 kB / 415.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.3846, allocations: 47.91 kB / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3846, allocations: 0 / 415.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.3847, allocations: 15.94 kB / 415.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.385, allocations: 41.73 kB / 415.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.3854, allocations: 202.1 kB / 415.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3858, allocations: 0.6924 MB / 416.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.3858, allocations: 7.984 kB / 416.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.3858, allocations: 11.44 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3858, allocations: 0 / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.003101/0.3889, allocations: 0.7202 MB / 416.8 MB, free: 9.488 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches