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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001866/0.001866, allocations: 112.4 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 204.9 kB / 21.46 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.2 MB / 254.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1183, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003751/0.122, allocations: 1.926 MB / 428.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1243, allocations: 1.235 MB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1244, allocations: 4 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.1249, allocations: 151.5 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.1253, allocations: 155.4 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1257, allocations: 178.5 kB / 430.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.126, allocations: 191.5 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.1261, allocations: 25.66 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1262, allocations: 83.64 kB / 430.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1263, allocations: 83.55 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1264, allocations: 12 kB / 430.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1265, allocations: 55.95 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1266, allocations: 47.78 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.1266, allocations: 75.55 kB / 430.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.127, allocations: 223 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.127, allocations: 0 / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.127, allocations: 0 / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.127, allocations: 0 / 431.1 MB, free: 0.5547 MB / 350.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.2344/0.3613, allocations: 0.525 MB / 431.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.3614, allocations: 11.47 kB / 431.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.3614, allocations: 38.84 kB / 431.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.3615, allocations: 24.14 kB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.3619, allocations: 272.2 kB / 431.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.362, allocations: 6.516 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.362, allocations: 8.375 kB / 432 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3623, allocations: 162.6 kB / 432.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3624, allocations: 5.094 kB / 432.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3624, allocations: 4.25 kB / 432.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.3624, allocations: 4.172 kB / 432.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3625, allocations: 38.5 kB / 432.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.363, allocations: 458.3 kB / 432.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.3633, allocations: 132.1 kB / 432.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.3634, allocations: 54.34 kB / 432.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3634, allocations: 2.469 kB / 432.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.3636, allocations: 94.62 kB / 432.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3636, allocations: 0.8438 kB / 432.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004266/0.364, allocations: 157.1 kB / 433 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.3641, allocations: 162.3 kB / 433.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.3644, allocations: 276.1 kB / 433.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3644, allocations: 27.27 kB / 433.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.3645, allocations: 127.8 kB / 433.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3645, allocations: 21.56 kB / 433.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.3646, allocations: 32.86 kB / 433.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.3647, allocations: 336.8 kB / 434 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.3647, allocations: 25.27 kB / 434 MB, free: 9.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.3648, allocations: 77.25 kB / 434.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.365, allocations: 90.5 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.365, allocations: 0.9062 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002193/0.3652, allocations: 135.1 kB / 434.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3652, allocations: 8.25 kB / 434.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3652, allocations: 0 / 434.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3652, allocations: 3.406 kB / 434.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.3653, allocations: 13.72 kB / 434.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3653, allocations: 9.688 kB / 434.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.3654, allocations: 11.5 kB / 434.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3654, allocations: 3.875 kB / 434.4 MB, free: 9.629 MB / 350.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.0001171/0.3655, allocations: 151.5 kB / 434.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.3656, allocations: 70.84 kB / 434.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.3657, allocations: 26.47 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3657, allocations: 5.531 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3657, allocations: 1.344 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3657, allocations: 1.406 kB / 434.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3659, allocations: 237.2 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3659, allocations: 0 / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.3659, allocations: 10.83 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3659, allocations: 2.281 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3659, allocations: 5.359 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3659, allocations: 3.422 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3659, allocations: 2.625 kB / 434.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3661, allocations: 173.8 kB / 435.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.3662, allocations: 114.6 kB / 435.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.3662, allocations: 8.844 kB / 435.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.3663, allocations: 3.031 kB / 435.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.3663, allocations: 12.12 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.3664, allocations: 4.531 kB / 435.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3665, allocations: 201.8 kB / 435.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3665, allocations: 0.7188 kB / 435.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3668, allocations: 33.47 kB / 435.4 MB, free: 8.969 MB / 350.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.001883/0.3687, allocations: 1.02 MB / 436.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3689, allocations: 72.47 kB / 436.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3689, allocations: 320 / 436.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.369, allocations: 33.89 kB / 436.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3694, allocations: 79.05 kB / 436.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3713, allocations: 2.035 MB / 438.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3715, allocations: 0.7336 MB / 439.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.3716, allocations: 23.56 kB / 439.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.3717, allocations: 55.81 kB / 439.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3717, allocations: 0 / 439.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.4027, allocations: 4.825 MB / 444.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.511, allocations: 13 kB / 444.3 MB, free: 5.363 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.114699823781848]