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.001574/0.001574, allocations: 111.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.361/2.361, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3959, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004753/0.4007, allocations: 1.918 MB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.4038, allocations: 1.305 MB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.404, allocations: 0 / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.4045, allocations: 71.61 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.405, allocations: 131.4 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.406, allocations: 226.9 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.4064, allocations: 191.5 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.4066, allocations: 29.55 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4067, allocations: 79.69 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.4069, allocations: 87.61 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.407, allocations: 8 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.4072, allocations: 71.89 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4073, allocations: 51.83 kB / 414.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.4075, allocations: 83.41 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.4079, allocations: 247 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.408, allocations: 7.984 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.408, allocations: 0 / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.408, allocations: 0 / 414.4 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.00107/0.4091, allocations: 0.544 MB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.4091, allocations: 8.031 kB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.4093, allocations: 24.66 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.41, allocations: 299.4 kB / 415.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4101, allocations: 4.375 kB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.4101, allocations: 12.12 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.4107, allocations: 172.4 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4107, allocations: 0 / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.4107, allocations: 7.984 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4107, allocations: 4 kB / 415.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.4109, allocations: 47.91 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.4118, allocations: 474.4 kB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.4122, allocations: 142.5 kB / 416.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.4124, allocations: 63.41 kB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.4124, allocations: 7.938 kB / 416.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.4127, allocations: 93.16 kB / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.4127, allocations: 0 / 416.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006066/0.4133, allocations: 173.6 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.4135, allocations: 187.9 kB / 416.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.4141, allocations: 339 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4141, allocations: 33.64 kB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.4143, allocations: 128.3 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.4143, allocations: 19.8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.4144, allocations: 33.7 kB / 417.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4146, allocations: 342.8 kB / 417.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4147, allocations: 23.98 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.4149, allocations: 91.7 kB / 417.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.4152, allocations: 93.08 kB / 417.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4152, allocations: 0 / 417.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003943/0.4156, allocations: 145.2 kB / 417.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4156, allocations: 8.156 kB / 417.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4157, allocations: 4 kB / 417.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4157, allocations: 3.938 kB / 417.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4159, allocations: 23.92 kB / 417.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4159, allocations: 7.984 kB / 417.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.416, allocations: 11.88 kB / 417.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.4161, allocations: 7.984 kB / 417.9 MB, free: 9.207 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.0002118/0.4163, allocations: 161.7 kB / 418.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.4164, allocations: 77.41 kB / 418.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.4165, allocations: 30.05 kB / 418.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4165, allocations: 4 kB / 418.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4166, allocations: 0 / 418.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4166, allocations: 7.938 kB / 418.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.4169, allocations: 245.5 kB / 418.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.4169, allocations: 3.938 kB / 418.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4171, allocations: 23.92 kB / 418.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.4171, allocations: 4 kB / 418.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4171, allocations: 64 / 418.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4171, allocations: 8 kB / 418.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4171, allocations: 0 / 418.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.4176, allocations: 183.2 kB / 418.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.4178, allocations: 116.8 kB / 418.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.4178, allocations: 8 kB / 418.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4179, allocations: 4 kB / 418.8 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.418, allocations: 15.92 kB / 418.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.4181, allocations: 4 kB / 418.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003738/0.4184, allocations: 253.9 kB / 419 MB, free: 7.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4185, allocations: 0 / 419 MB, free: 7.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004871/0.4189, allocations: 39.91 kB / 419.1 MB, free: 7.934 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.0015/0.4205, allocations: 423 kB / 419.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.4208, allocations: 91.77 kB / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4209, allocations: 0 / 419.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.421, allocations: 27.98 kB / 419.6 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.0006321/0.4216, allocations: 74.31 kB / 419.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.4226, allocations: 421.3 kB / 420.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4231, allocations: 0.7476 MB / 420.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.4232, allocations: 23.38 kB / 420.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4232, allocations: 0 / 420.9 MB, free: 6.207 MB / 334.1 MB Notification: Performance of Templates: time 0.00777/0.431, allocations: 3.096 MB / 424 MB, free: 3.121 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/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