Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001855, allocations: 115.5 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.002347/0.002348, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3889, allocations: 50.55 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003334/0.3923, allocations: 1.917 MB / 411.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.3945, allocations: 1.297 MB / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3946, allocations: 0 / 412.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.395, allocations: 71.67 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.3954, allocations: 135.4 kB / 412.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.3962, allocations: 234.7 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3964, allocations: 183.5 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3966, allocations: 33.55 kB / 413.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3967, allocations: 79.62 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3968, allocations: 83.62 kB / 413.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.3969, allocations: 8 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3971, allocations: 67.95 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.3972, allocations: 55.77 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.3973, allocations: 79.42 kB / 413.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.3976, allocations: 259 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3976, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3976, allocations: 0 / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3976, allocations: 0 / 413.7 MB, free: 13.12 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008028/0.3985, allocations: 0.5478 MB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3985, allocations: 8.031 kB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.3986, allocations: 24.66 kB / 414.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.399, allocations: 295.6 kB / 414.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.399, allocations: 4.312 kB / 414.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.3991, allocations: 16.12 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3995, allocations: 176.4 kB / 414.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3995, allocations: 0 / 414.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3996, allocations: 0 / 414.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3996, allocations: 4 kB / 414.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3997, allocations: 43.91 kB / 414.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.4004, allocations: 478.4 kB / 415.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4007, allocations: 142.5 kB / 415.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4009, allocations: 59.42 kB / 415.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4009, allocations: 3.984 kB / 415.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.4011, allocations: 97.03 kB / 415.6 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4011, allocations: 0 / 415.6 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004292/0.4015, allocations: 169.2 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4016, allocations: 187.9 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.402, allocations: 339 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.402, allocations: 29.7 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.4021, allocations: 132.7 kB / 416.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4022, allocations: 19.88 kB / 416.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.4022, allocations: 29.72 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4023, allocations: 342.8 kB / 416.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.4024, allocations: 23.98 kB / 416.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4026, allocations: 99.64 kB / 416.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4027, allocations: 97.33 kB / 417 MB, free: 9.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4028, allocations: 7.938 kB / 417 MB, free: 9.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002772/0.403, allocations: 141.2 kB / 417.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4031, allocations: 6.812 kB / 417.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4031, allocations: 4 kB / 417.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.4031, allocations: 0 / 417.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4033, allocations: 31.86 kB / 417.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4033, allocations: 0 / 417.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4034, allocations: 11.88 kB / 417.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4034, allocations: 16.14 kB / 417.2 MB, free: 9.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000159/0.4036, allocations: 161.7 kB / 417.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.4037, allocations: 69.36 kB / 417.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.4038, allocations: 29.73 kB / 417.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4038, allocations: 4 kB / 417.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4038, allocations: 0 / 417.5 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4038, allocations: 7.922 kB / 417.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.4041, allocations: 253.5 kB / 417.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4041, allocations: 4.062 kB / 417.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.4042, allocations: 15.94 kB / 417.8 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4042, allocations: 4 kB / 417.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4042, allocations: 3.984 kB / 417.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4042, allocations: 4 kB / 417.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4042, allocations: 0 / 417.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.4045, allocations: 183.3 kB / 418 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4046, allocations: 124.8 kB / 418.1 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.4047, allocations: 3.938 kB / 418.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.4048, allocations: 8 kB / 418.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.4048, allocations: 11.92 kB / 418.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4048, allocations: 4 kB / 418.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.4051, allocations: 253.9 kB / 418.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4051, allocations: 0 / 418.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.4054, allocations: 43.91 kB / 418.4 MB, free: 7.938 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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009974/0.4064, allocations: 416 kB / 418.8 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.4067, allocations: 95.72 kB / 418.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4067, allocations: 0 / 418.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.4068, allocations: 36.28 kB / 418.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.4072, allocations: 75.22 kB / 419 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.4079, allocations: 379.1 kB / 419.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4082, allocations: 0.7517 MB / 420.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.313e-05/0.4083, allocations: 21.55 kB / 420.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.4084, allocations: 27.42 kB / 420.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4084, allocations: 0 / 420.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Templates: time 0.006774/0.4152, allocations: 2.974 MB / 423.2 MB, free: 3.277 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches