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.00115/0.00115, allocations: 117.7 kB / 17.78 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.001193/0.001193, allocations: 204.6 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.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2679, allocations: 50.53 MB / 408.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003022/0.271, allocations: 1.922 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2728, allocations: 1.216 MB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.2729, allocations: 8 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.2735, allocations: 154.9 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.2739, allocations: 151.4 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.2744, allocations: 171.4 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.2746, allocations: 199.4 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2748, allocations: 37.67 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2749, allocations: 83.62 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.275, allocations: 75.62 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.2751, allocations: 8 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2752, allocations: 59.95 kB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.2753, allocations: 47.78 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.2754, allocations: 83.47 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.2757, allocations: 213 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2757, allocations: 0 / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2757, allocations: 0 / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2757, allocations: 4 kB / 413.1 MB, free: 13.08 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.0007541/0.2765, allocations: 0.5156 MB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2765, allocations: 12.03 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2766, allocations: 38.73 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.2767, allocations: 24.66 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.277, allocations: 274.8 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.277, allocations: 4.375 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.2771, allocations: 11.94 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.2774, allocations: 163.5 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2774, allocations: 7.922 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2774, allocations: 4 kB / 414.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2774, allocations: 4 kB / 414.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2776, allocations: 31.92 kB / 414.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.2781, allocations: 466.4 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2783, allocations: 134.5 kB / 414.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.2785, allocations: 55.42 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2785, allocations: 3.938 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2787, allocations: 97.03 kB / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.2787, allocations: 0 / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003779/0.2791, allocations: 161.2 kB / 415.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.2792, allocations: 158.2 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.2794, allocations: 281.3 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.2795, allocations: 29.7 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.2796, allocations: 120.4 kB / 415.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.2796, allocations: 19.8 kB / 415.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.2797, allocations: 33.62 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2798, allocations: 330.8 kB / 416.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.2799, allocations: 23.98 kB / 416.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.28, allocations: 82.8 kB / 416.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2801, allocations: 85.08 kB / 416.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2801, allocations: 8.031 kB / 416.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002364/0.2804, allocations: 121.7 kB / 416.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2804, allocations: 4 kB / 416.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2804, allocations: 4 kB / 416.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2804, allocations: 0 / 416.4 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.2805, allocations: 23.92 kB / 416.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2805, allocations: 0 / 416.4 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.2806, allocations: 23.94 kB / 416.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2806, allocations: 8 kB / 416.5 MB, free: 9.383 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.0001261/0.2808, allocations: 145.8 kB / 416.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.2809, allocations: 73.44 kB / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.2809, allocations: 25.7 kB / 416.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.281, allocations: 0 / 416.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.281, allocations: 0 / 416.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.281, allocations: 11.88 kB / 416.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2812, allocations: 237.6 kB / 416.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2812, allocations: 0 / 416.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.2812, allocations: 8 kB / 416.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2812, allocations: 4 kB / 416.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2813, allocations: 3.984 kB / 416.9 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2813, allocations: 7.938 kB / 417 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2813, allocations: 0 / 417 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2816, allocations: 167.4 kB / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.2817, allocations: 112.8 kB / 417.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.2817, allocations: 4 kB / 417.2 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.2818, allocations: 4 kB / 417.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.2818, allocations: 11.92 kB / 417.3 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.2818, allocations: 7.938 kB / 417.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.282, allocations: 208.4 kB / 417.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2821, allocations: 4 kB / 417.5 MB, free: 8.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2823, allocations: 39.92 kB / 417.5 MB, free: 8.215 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.001348/0.2837, allocations: 1.014 MB / 418.5 MB, free: 7.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.2839, allocations: 75.91 kB / 418.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2839, allocations: 0 / 418.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.284, allocations: 31.92 kB / 418.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2844, allocations: 67.31 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.002301/0.2867, allocations: 2.03 MB / 420.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2871, allocations: 0.7319 MB / 421.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.753e-05/0.2871, allocations: 25.52 kB / 421.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.2872, allocations: 55.36 kB / 421.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2873, allocations: 0 / 421.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.3095, allocations: 4.883 MB / 426.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.091, allocations: 3.984 kB / 426.4 MB, free: 15.37 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