Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002114/0.002115, allocations: 106.6 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2451, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00335/0.2485, allocations: 1.905 MB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.2504, allocations: 1.079 MB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2506, allocations: 0 / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.2512, allocations: 147.5 kB / 403.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.2515, allocations: 123.5 kB / 403.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.252, allocations: 201.8 kB / 403.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.2523, allocations: 183.6 kB / 403.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2524, allocations: 41.41 kB / 403.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2526, allocations: 71.7 kB / 404 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2527, allocations: 79.67 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.2527, allocations: 12 kB / 404.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2529, allocations: 55.91 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.253, allocations: 43.84 kB / 404.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.2531, allocations: 71.48 kB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.2534, allocations: 214.2 kB / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2534, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2535, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2535, allocations: 0 / 404.4 MB, free: 4.629 MB / 318.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.0008032/0.2543, allocations: 0.5232 MB / 405 MB, free: 4.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2543, allocations: 12.02 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.2544, allocations: 42.75 kB / 405 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.2544, allocations: 20.8 kB / 405 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.2548, allocations: 271 kB / 405.3 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2548, allocations: 4.375 kB / 405.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2549, allocations: 11.94 kB / 405.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.2552, allocations: 171.5 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2552, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2552, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2553, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2554, allocations: 43.92 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.2559, allocations: 446.5 kB / 406 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.2562, allocations: 138.5 kB / 406.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2563, allocations: 59.41 kB / 406.1 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2564, allocations: 4 kB / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.2566, allocations: 92.98 kB / 406.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.2566, allocations: 0 / 406.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003918/0.257, allocations: 157.8 kB / 406.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2571, allocations: 166.2 kB / 406.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2574, allocations: 264.9 kB / 406.8 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2574, allocations: 29.7 kB / 406.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2575, allocations: 124.4 kB / 407 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2576, allocations: 23.83 kB / 407 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.2577, allocations: 37.64 kB / 407 MB, free: 1.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2578, allocations: 330.8 kB / 407.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.2579, allocations: 27.98 kB / 407.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.258, allocations: 70.86 kB / 407.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2582, allocations: 97.05 kB / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2582, allocations: 0 / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002319/0.2584, allocations: 125.4 kB / 407.7 MB, free: 1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2585, allocations: 4.156 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2585, allocations: 8 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2585, allocations: 320 / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.2586, allocations: 23.92 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.2586, allocations: 4 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.2587, allocations: 11.94 kB / 407.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2587, allocations: 4 kB / 407.7 MB, free: 0.9453 MB / 318.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.0001444/0.2588, allocations: 142.3 kB / 407.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.2589, allocations: 81.48 kB / 407.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.259, allocations: 25.7 kB / 408 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.259, allocations: 0 / 408 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.259, allocations: 0 / 408 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.259, allocations: 7.938 kB / 408 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.2593, allocations: 225.5 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2593, allocations: 4 kB / 408.2 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.2593, allocations: 7.938 kB / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2593, allocations: 0 / 408.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2593, allocations: 8 kB / 408.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.2594, allocations: 3.984 kB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2594, allocations: 8.062 kB / 408.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.2596, allocations: 171.4 kB / 408.4 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.2597, allocations: 109 kB / 408.5 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.2598, allocations: 4 kB / 408.5 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.267e-05/0.2599, allocations: 12 kB / 408.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.2599, allocations: 11.92 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2599, allocations: 4 kB / 408.5 MB, free: 24 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.2601, allocations: 192.5 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2601, allocations: 0 / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.2604, allocations: 35.89 kB / 408.8 MB, free: 15.8 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.001958/0.2624, allocations: 1.027 MB / 409.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.2626, allocations: 80.09 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2626, allocations: 4.062 kB / 409.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.34e-05/0.2627, allocations: 27.94 kB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2632, allocations: 72.88 kB / 410 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.2655, allocations: 2.011 MB / 412 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.2659, allocations: 0.728 MB / 412.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.15e-05/0.266, allocations: 25.53 kB / 412.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.2662, allocations: 51.42 kB / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2662, allocations: 0 / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.2926, allocations: 4.717 MB / 417.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.456, allocations: 10.05 kB / 417.5 MB, free: 7.141 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches