Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001614/0.001614, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 198 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.482/1.482, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003588/0.3448, allocations: 1.62 MB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.346, allocations: 0.5608 MB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3461, allocations: 4 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.704e-05/0.3462, allocations: 11.92 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3464, allocations: 11.88 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.3468, allocations: 63.75 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3469, allocations: 55.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.347, allocations: 19.98 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3472, allocations: 27.92 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.3472, allocations: 27.84 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3473, allocations: 11.94 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.477e-05/0.3473, allocations: 4 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.3474, allocations: 19.92 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3475, allocations: 31.73 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3476, allocations: 67.73 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3477, allocations: 0 / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3477, allocations: 0 / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3477, allocations: 0 / 411.3 MB, free: 14.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005884/0.3483, allocations: 392.7 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3483, allocations: 16.03 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.3484, allocations: 34.75 kB / 411.7 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3486, allocations: 20.83 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.349, allocations: 212.6 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.349, allocations: 384 / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.349, allocations: 7.938 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3493, allocations: 134.7 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3493, allocations: 0 / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3494, allocations: 4 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3494, allocations: 0 / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3495, allocations: 31.91 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3499, allocations: 295.3 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.35, allocations: 94.36 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.3501, allocations: 47.53 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3501, allocations: 3.984 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3502, allocations: 46.5 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3502, allocations: 0 / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003087/0.3505, allocations: 93.52 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.3506, allocations: 132.5 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3507, allocations: 157.9 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3508, allocations: 29.7 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.3508, allocations: 92.12 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3508, allocations: 7.906 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3509, allocations: 17.72 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.351, allocations: 322.8 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.351, allocations: 11.98 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.3511, allocations: 44.3 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3512, allocations: 60.2 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3512, allocations: 4 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001622/0.3514, allocations: 81.47 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3514, allocations: 7.984 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.3514, allocations: 4 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3515, allocations: 0 / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.3516, allocations: 15.94 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3516, allocations: 7.875 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.152e-05/0.3516, allocations: 8.141 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3517, allocations: 8.125 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.111e-05/0.3517, allocations: 117.8 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.3518, allocations: 65.53 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3519, allocations: 15.83 kB / 413.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3519, allocations: 4 kB / 413.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3519, allocations: 3.938 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3519, allocations: 3.984 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3521, allocations: 177.6 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3521, allocations: 4.062 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.3522, allocations: 15.98 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3522, allocations: 4 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3522, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3522, allocations: 7.938 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3523, allocations: 3.938 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3525, allocations: 202 kB / 414.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.3525, allocations: 96.89 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3526, allocations: 8 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.3526, allocations: 0 / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3527, allocations: 7.938 kB / 414.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3527, allocations: 0 / 414.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.288e-05/0.3528, allocations: 114.6 kB / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3528, allocations: 4 kB / 414.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3531, allocations: 12 kB / 414.5 MB, free: 11.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0004757/0.3536, allocations: 0.7266 MB / 415.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.3537, allocations: 43.86 kB / 415.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3537, allocations: 0 / 415.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/0.3538, allocations: 15.92 kB / 415.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3542, allocations: 28.64 kB / 415.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3558, allocations: 1.472 MB / 416.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.356, allocations: 0.6962 MB / 417.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.3561, allocations: 12.06 kB / 417.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.3562, allocations: 23.42 kB / 417.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of SimCode: time 2.314e-06/0.3562, allocations: 3.938 kB / 417.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.3776, allocations: 1.907 MB / 419.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.558, allocations: 4.062 kB / 419.5 MB, free: 6.234 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches