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.001084/0.001084, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 204.7 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2846, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003809/0.2885, allocations: 1.917 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2906, allocations: 1.22 MB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2907, allocations: 7.938 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.2913, allocations: 143.5 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.2917, allocations: 163.4 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.2923, allocations: 170.9 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.2926, allocations: 199.4 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2927, allocations: 41.66 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.2929, allocations: 71.7 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.293, allocations: 79.61 kB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.2931, allocations: 12 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2932, allocations: 63.91 kB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.2933, allocations: 43.83 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.2934, allocations: 75.48 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.2937, allocations: 222.1 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2937, allocations: 0 / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2937, allocations: 0 / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2938, allocations: 0 / 413.2 MB, free: 13.11 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.0007391/0.2945, allocations: 0.5271 MB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2945, allocations: 8.031 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.2946, allocations: 42.73 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.2947, allocations: 24.8 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.295, allocations: 274.9 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.295, allocations: 8.375 kB / 414 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2951, allocations: 11.94 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.2954, allocations: 163.5 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2954, allocations: 3.938 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2954, allocations: 4 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2955, allocations: 4 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2956, allocations: 39.92 kB / 414.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.2961, allocations: 446.5 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.2964, allocations: 142.5 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.2965, allocations: 59.36 kB / 414.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2965, allocations: 8.062 kB / 414.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.2967, allocations: 89.09 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.2967, allocations: 0 / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003703/0.2971, allocations: 161.6 kB / 415.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.2972, allocations: 166.2 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.2975, allocations: 280.9 kB / 415.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2975, allocations: 33.7 kB / 415.6 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.2976, allocations: 116.4 kB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.2976, allocations: 15.91 kB / 415.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.2977, allocations: 41.84 kB / 415.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.2978, allocations: 330.8 kB / 416.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.2979, allocations: 20 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.298, allocations: 78.84 kB / 416.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.2981, allocations: 89.11 kB / 416.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2982, allocations: 0 / 416.3 MB, free: 9.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002277/0.2984, allocations: 125.6 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2984, allocations: 12 kB / 416.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2984, allocations: 0 / 416.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2985, allocations: 7.938 kB / 416.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.2985, allocations: 11.98 kB / 416.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2986, allocations: 4 kB / 416.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.2986, allocations: 15.83 kB / 416.5 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.2987, allocations: 8 kB / 416.5 MB, free: 9.402 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.0001293/0.2988, allocations: 153.7 kB / 416.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2989, allocations: 69.55 kB / 416.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.299, allocations: 25.7 kB / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.299, allocations: 4 kB / 416.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.299, allocations: 0 / 416.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.299, allocations: 7.875 kB / 416.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.2992, allocations: 233.6 kB / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2992, allocations: 8.25 kB / 417 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.2993, allocations: 4 kB / 417 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2993, allocations: 4 kB / 417 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2993, allocations: 4.062 kB / 417 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2993, allocations: 11.92 kB / 417 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2993, allocations: 4 kB / 417 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.2996, allocations: 171.4 kB / 417.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.2997, allocations: 112.9 kB / 417.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2997, allocations: 8 kB / 417.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.2998, allocations: 4 kB / 417.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2999, allocations: 15.92 kB / 417.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.2999, allocations: 4 kB / 417.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.3001, allocations: 200.5 kB / 417.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3001, allocations: 0 / 417.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3004, allocations: 31.95 kB / 417.5 MB, free: 8.234 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.001399/0.3018, allocations: 1.024 MB / 418.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.302, allocations: 75.91 kB / 418.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.302, allocations: 3.938 kB / 418.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.3021, allocations: 31.98 kB / 418.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3025, allocations: 74.08 kB / 418.7 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3047, allocations: 2.018 MB / 420.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.305, allocations: 0.7319 MB / 421.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.248e-05/0.3051, allocations: 37.45 kB / 421.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.3052, allocations: 47.42 kB / 421.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3052, allocations: 4 kB / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.327, allocations: 4.812 MB / 426.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.116, allocations: 6.328 kB / 426.4 MB, free: 15.44 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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