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.001455/0.001455, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 200.6 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.539/1.539, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3047, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003605/0.3084, allocations: 1.615 MB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3096, allocations: 0.5648 MB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3097, allocations: 7.938 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.3098, allocations: 7.922 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.31, allocations: 7.875 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3104, allocations: 71.73 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3105, allocations: 55.84 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3106, allocations: 16 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3108, allocations: 31.84 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.3108, allocations: 27.86 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3109, allocations: 4 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.3109, allocations: 7.984 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.311, allocations: 11.94 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.3111, allocations: 39.73 kB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3113, allocations: 70.62 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3113, allocations: 0 / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3113, allocations: 0 / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3113, allocations: 0 / 411.4 MB, free: 14.92 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.0005835/0.3119, allocations: 395 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001002/0.312, allocations: 12.03 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.3121, allocations: 34.75 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.3122, allocations: 20.88 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.3127, allocations: 219.8 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3128, allocations: 8.375 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3128, allocations: 7.938 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.3131, allocations: 134.7 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3132, allocations: 0 / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3132, allocations: 0 / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3132, allocations: 0 / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.3133, allocations: 35.91 kB / 412.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3137, allocations: 287.4 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3138, allocations: 90.36 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.3139, allocations: 47.55 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.314, allocations: 3.984 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.314, allocations: 46.48 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.314, allocations: 0 / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003145/0.3143, allocations: 97.66 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.3144, allocations: 132.5 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3146, allocations: 150.4 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.3146, allocations: 29.7 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3147, allocations: 92.12 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3147, allocations: 8.359 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.3148, allocations: 25.67 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3149, allocations: 318.8 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.315, allocations: 11.98 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.83e-05/0.315, allocations: 44.3 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3152, allocations: 56.22 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3152, allocations: 0 / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001805/0.3154, allocations: 93.62 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3154, allocations: 4 kB / 413.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3154, allocations: 7.984 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3154, allocations: 0 / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.3155, allocations: 8 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3156, allocations: 11.88 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3156, allocations: 7.984 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3156, allocations: 0 / 413.8 MB, free: 12.18 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 0.0001072/0.3157, allocations: 117.8 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.3158, allocations: 69.55 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.3159, allocations: 15.83 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3159, allocations: 0 / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3159, allocations: 7.938 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3159, allocations: 3.984 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3161, allocations: 177.6 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3162, allocations: 4 kB / 414.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.505e-05/0.3162, allocations: 16.11 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3162, allocations: 4 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3163, allocations: 4.062 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3163, allocations: 7.938 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.3163, allocations: 7.938 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3165, allocations: 194 kB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3166, allocations: 105 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3167, allocations: 0 / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.3167, allocations: 8 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3168, allocations: 7.938 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3168, allocations: 0 / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.3169, allocations: 114.6 kB / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3169, allocations: 0 / 414.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3171, allocations: 12 kB / 414.6 MB, free: 11.2 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.0007637/0.3179, allocations: 0.7266 MB / 415.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.3181, allocations: 47.92 kB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3181, allocations: 0 / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.3181, allocations: 15.92 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3185, allocations: 35.62 kB / 415.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3202, allocations: 1.465 MB / 416.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3206, allocations: 0.6962 MB / 417.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.3206, allocations: 4 kB / 417.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.3207, allocations: 23.42 kB / 417.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3207, allocations: 0 / 417.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.342, allocations: 1.882 MB / 419.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/8.954, allocations: 8 kB / 419.5 MB, free: 6.219 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.1.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