Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 118.8 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.001317/0.001317, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4005, allocations: 50.55 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004489/0.405, allocations: 1.906 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.4075, allocations: 1.223 MB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.4077, allocations: 4 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.4084, allocations: 147.5 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005487/0.4089, allocations: 159.3 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.4095, allocations: 163.5 kB / 412.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.4098, allocations: 203.4 kB / 413 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4099, allocations: 37.64 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.4102, allocations: 79.64 kB / 413.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4103, allocations: 79.61 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.4103, allocations: 12 kB / 413.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.4105, allocations: 55.97 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.4106, allocations: 51.77 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4107, allocations: 79.48 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.4111, allocations: 211 kB / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.4111, allocations: 4 kB / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4112, allocations: 0 / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4112, allocations: 0 / 413.6 MB, free: 13.17 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.001175/0.4124, allocations: 0.5209 MB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4124, allocations: 8.031 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.4125, allocations: 24.66 kB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.4129, allocations: 270.8 kB / 414.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.413, allocations: 8.375 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.413, allocations: 16.11 kB / 414.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.4134, allocations: 163.5 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.4135, allocations: 4 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4136, allocations: 3.984 kB / 414.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4136, allocations: 3.938 kB / 414.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4137, allocations: 39.92 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.4144, allocations: 450.5 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.4147, allocations: 142.5 kB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.485e-05/0.4148, allocations: 55.42 kB / 415.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4149, allocations: 8.047 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.4151, allocations: 93.05 kB / 415.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4151, allocations: 0 / 415.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004278/0.4155, allocations: 161.2 kB / 415.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.4157, allocations: 158.2 kB / 415.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.416, allocations: 269.4 kB / 416 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.416, allocations: 37.7 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.4162, allocations: 116.4 kB / 416.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.4163, allocations: 19.8 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.4163, allocations: 37.61 kB / 416.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.4166, allocations: 330.8 kB / 416.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.4168, allocations: 23.98 kB / 416.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4169, allocations: 86.3 kB / 416.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.4171, allocations: 85.08 kB / 416.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4171, allocations: 4.031 kB / 416.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002093/0.4173, allocations: 129.4 kB / 416.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4174, allocations: 4 kB / 416.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4174, allocations: 3.984 kB / 416.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4174, allocations: 7.984 kB / 416.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.4175, allocations: 12 kB / 416.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4175, allocations: 3.938 kB / 416.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.4176, allocations: 24.23 kB / 416.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4176, allocations: 8 kB / 416.9 MB, free: 9.52 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.0001518/0.4178, allocations: 153.8 kB / 417.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.4178, allocations: 61.45 kB / 417.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.4179, allocations: 25.7 kB / 417.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4179, allocations: 4 kB / 417.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4179, allocations: 0 / 417.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001379/0.4181, allocations: 7.938 kB / 417.2 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4183, allocations: 233.6 kB / 417.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4183, allocations: 11.92 kB / 417.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.4183, allocations: 7.984 kB / 417.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4184, allocations: 0 / 417.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4184, allocations: 4 kB / 417.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4184, allocations: 7.875 kB / 417.4 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4184, allocations: 4 kB / 417.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.4187, allocations: 175.3 kB / 417.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4189, allocations: 108.8 kB / 417.7 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.4189, allocations: 7.984 kB / 417.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.419, allocations: 4 kB / 417.7 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.419, allocations: 11.94 kB / 417.7 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.4191, allocations: 7.984 kB / 417.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.4193, allocations: 200.5 kB / 417.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4193, allocations: 7.938 kB / 417.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4196, allocations: 35.94 kB / 418 MB, free: 8.348 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.001357/0.421, allocations: 413.5 kB / 418.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4212, allocations: 71.91 kB / 418.4 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4212, allocations: 320 / 418.4 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.4213, allocations: 31.94 kB / 418.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4217, allocations: 66.77 kB / 418.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.4223, allocations: 337.6 kB / 418.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4226, allocations: 0.7283 MB / 419.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.775e-05/0.4227, allocations: 25.78 kB / 419.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.4228, allocations: 23.42 kB / 419.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.4228, allocations: 0 / 419.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of Templates: time 0.007779/0.4306, allocations: 2.575 MB / 422.2 MB, free: 4.188 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches