Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 176 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205 MB / 221.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 89.81 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07416/0.07416, allocations: 12.56 MB / 330.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.000388, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.0875, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.00196/0.08949, allocations: 1.609 MB / 442.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09079, allocations: 0.9753 MB / 443.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.09091, allocations: 11.94 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.09145, allocations: 143.7 kB / 443.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.09167, allocations: 99.64 kB / 444 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.09208, allocations: 163.7 kB / 444.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.09225, allocations: 183.5 kB / 444.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.09237, allocations: 41.75 kB / 444.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.09246, allocations: 59.66 kB / 444.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.09255, allocations: 75.56 kB / 444.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.09258, allocations: 4 kB / 444.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.913e-05/0.09269, allocations: 35.98 kB / 444.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.09275, allocations: 39.83 kB / 444.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.09281, allocations: 67.55 kB / 444.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.09303, allocations: 207.3 kB / 444.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09304, allocations: 0 / 444.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09305, allocations: 0 / 444.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09306, allocations: 0 / 444.8 MB, free: 12.57 MB / 298.7 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.0006211/0.09369, allocations: 484.3 kB / 445.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.09374, allocations: 8.031 kB / 445.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.606e-05/0.09378, allocations: 42.73 kB / 445.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.09383, allocations: 20.66 kB / 445.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.09411, allocations: 270.8 kB / 445.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.09414, allocations: 4.375 kB / 445.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.09416, allocations: 11.94 kB / 445.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.09447, allocations: 167.4 kB / 445.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.09449, allocations: 4 kB / 445.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.09451, allocations: 4 kB / 445.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.09452, allocations: 0 / 445.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.09462, allocations: 43.91 kB / 445.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.0951, allocations: 458.4 kB / 446.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.0953, allocations: 134.5 kB / 446.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.09539, allocations: 59.42 kB / 446.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.09542, allocations: 3.938 kB / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.09558, allocations: 97.08 kB / 446.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.09559, allocations: 0 / 446.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003213/0.09592, allocations: 149.3 kB / 446.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.09598, allocations: 162.2 kB / 446.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.09618, allocations: 276.8 kB / 447.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.0962, allocations: 34.06 kB / 447.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.09627, allocations: 120.4 kB / 447.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.09629, allocations: 15.75 kB / 447.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.09632, allocations: 25.7 kB / 447.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.09638, allocations: 326.8 kB / 447.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.09644, allocations: 23.98 kB / 447.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.09652, allocations: 82.86 kB / 447.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.09664, allocations: 85.08 kB / 447.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.09665, allocations: 0 / 447.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001731/0.09683, allocations: 125.4 kB / 448 MB, free: 9.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.09685, allocations: 8 kB / 448 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.09686, allocations: 0 / 448 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.09687, allocations: 4 kB / 448 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.09695, allocations: 19.92 kB / 448 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.09697, allocations: 4 kB / 448 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.09704, allocations: 11.84 kB / 448 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.09706, allocations: 12.45 kB / 448.1 MB, free: 8.949 MB / 298.7 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,shiftSample.y,hold.y,hold.u,shiftSample.u,sample.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 9.627e-05/0.09716, allocations: 149.8 kB / 448.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.09723, allocations: 61.52 kB / 448.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.09728, allocations: 25.7 kB / 448.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.09729, allocations: 4 kB / 448.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.0973, allocations: 3.938 kB / 448.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.09731, allocations: 3.938 kB / 448.3 MB, free: 8.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.09746, allocations: 237.5 kB / 448.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.09747, allocations: 4.062 kB / 448.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.0975, allocations: 7.938 kB / 448.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.09751, allocations: 4 kB / 448.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.09753, allocations: 7.984 kB / 448.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.09753, allocations: 4 kB / 448.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09754, allocations: 0 / 448.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.09775, allocations: 167.4 kB / 448.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.09783, allocations: 112.9 kB / 448.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.09786, allocations: 0 / 448.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.09793, allocations: 11.94 kB / 448.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.09798, allocations: 11.92 kB / 448.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.098, allocations: 4 kB / 448.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.09814, allocations: 196.5 kB / 449.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.09815, allocations: 4 kB / 449.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.09838, allocations: 35.84 kB / 449.1 MB, free: 7.805 MB / 298.7 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,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.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.001082/0.09947, allocations: 1.024 MB / 450.1 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.09966, allocations: 71.91 kB / 450.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09968, allocations: 0 / 450.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.09975, allocations: 31.94 kB / 450.2 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1001, allocations: 72.3 kB / 450.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1018, allocations: 2.025 MB / 452.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.102, allocations: 0.7361 MB / 453.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.102, allocations: 21.78 kB / 453.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.1021, allocations: 51.42 kB / 453.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.1021, allocations: 4 kB / 453.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1153, allocations: 4.221 MB / 457.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.1156, allocations: 261.2 kB / 457.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.926, allocations: 0 / 457.6 MB, free: 14.99 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches