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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 118.8 kB / 17.79 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.001899/0.001899, 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.42/1.42, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003145/0.2601, allocations: 1.917 MB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2622, allocations: 1.216 MB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.2623, allocations: 4 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.2629, allocations: 147.5 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.2634, allocations: 155.4 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2639, allocations: 167.4 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.2642, allocations: 207.4 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2644, allocations: 33.66 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2645, allocations: 79.64 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2646, allocations: 83.61 kB / 412.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2647, allocations: 12 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.2648, allocations: 55.95 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.2649, allocations: 47.78 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.265, allocations: 79.48 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.2653, allocations: 217 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2654, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2654, allocations: 0 / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2654, allocations: 0 / 413.1 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.0007814/0.2662, allocations: 0.5195 MB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2662, allocations: 8.031 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2663, allocations: 46.73 kB / 413.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.2663, allocations: 20.66 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.2667, allocations: 270.8 kB / 414 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2667, allocations: 12.31 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2667, allocations: 7.938 kB / 414 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2671, allocations: 175.4 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2671, allocations: 0 / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2671, allocations: 4 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2671, allocations: 0 / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2672, allocations: 39.92 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.2678, allocations: 458.4 kB / 414.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.268, allocations: 138.5 kB / 414.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.2681, allocations: 51.42 kB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.2682, allocations: 8.062 kB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2683, allocations: 97.03 kB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2684, allocations: 0 / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003745/0.2687, allocations: 157.2 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.2688, allocations: 158.2 kB / 415.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.2691, allocations: 281.3 kB / 415.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2691, allocations: 33.7 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.2692, allocations: 120.4 kB / 415.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2693, allocations: 19.8 kB / 415.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.2693, allocations: 29.62 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2694, allocations: 334.8 kB / 416.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.2695, allocations: 23.98 kB / 416.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/0.2696, allocations: 78.8 kB / 416.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2697, allocations: 89.11 kB / 416.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2698, allocations: 0 / 416.3 MB, free: 9.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002324/0.27, allocations: 125.4 kB / 416.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.27, allocations: 8 kB / 416.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.27, allocations: 0 / 416.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.27, allocations: 4 kB / 416.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.2701, allocations: 16.23 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2701, allocations: 4 kB / 416.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2702, allocations: 27.94 kB / 416.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2703, allocations: 4 kB / 416.4 MB, free: 9.426 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.0001433/0.2704, allocations: 145.8 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.552e-05/0.2705, allocations: 73.44 kB / 416.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.2706, allocations: 25.7 kB / 416.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2706, allocations: 7.984 kB / 416.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2706, allocations: 3.938 kB / 416.7 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2706, allocations: 8 kB / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.2708, allocations: 233.5 kB / 416.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2708, allocations: 0 / 416.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.2708, allocations: 8 kB / 416.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2709, allocations: 3.938 kB / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2709, allocations: 11.98 kB / 417 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.2709, allocations: 3.938 kB / 417 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2709, allocations: 0 / 417 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.2711, allocations: 167.4 kB / 417.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.2713, allocations: 112.8 kB / 417.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.2713, allocations: 4 kB / 417.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.2714, allocations: 4 kB / 417.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2714, allocations: 11.92 kB / 417.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.2714, allocations: 11.94 kB / 417.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.2716, allocations: 204.5 kB / 417.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.2716, allocations: 0 / 417.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.2719, allocations: 43.86 kB / 417.5 MB, free: 8.25 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.001289/0.2732, allocations: 1.007 MB / 418.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.2735, allocations: 71.91 kB / 418.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2735, allocations: 0 / 418.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.2736, allocations: 35.92 kB / 418.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.274, allocations: 70.52 kB / 418.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.2762, allocations: 2.026 MB / 420.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2764, allocations: 0.7397 MB / 421.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.2765, allocations: 25.52 kB / 421.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.2766, allocations: 55.36 kB / 421.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2766, allocations: 0 / 421.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2981, allocations: 4.871 MB / 426.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.127, allocations: 18.05 kB / 426.4 MB, free: 15.41 MB / 350.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches