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.001304/0.001304, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001267, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3272, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003512/0.3308, allocations: 1.616 MB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3323, allocations: 0.5609 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.3325, allocations: 3.938 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.494e-05/0.3326, allocations: 7.938 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.3328, allocations: 15.86 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.3334, allocations: 59.81 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3336, allocations: 51.8 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3338, allocations: 31.95 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.334, allocations: 31.86 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.3341, allocations: 23.86 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3342, allocations: 4 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.296e-05/0.3342, allocations: 11.98 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.3343, allocations: 15.92 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.3344, allocations: 35.75 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3347, allocations: 67.66 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.3347, allocations: 0 / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3347, allocations: 0 / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3347, allocations: 0 / 411.3 MB, free: 15.02 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.0008746/0.3356, allocations: 396.7 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.974e-05/0.3357, allocations: 12.03 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.3357, allocations: 34.75 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.336, allocations: 20.83 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.3363, allocations: 208 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3364, allocations: 384 / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3364, allocations: 11.88 kB / 412 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.3368, allocations: 138.7 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3368, allocations: 0 / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3368, allocations: 0 / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.3368, allocations: 4 kB / 412.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.3369, allocations: 23.92 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.3374, allocations: 295.3 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.3375, allocations: 102.4 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.3376, allocations: 39.42 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3377, allocations: 4 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3377, allocations: 38.56 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 5.49e-06/0.3377, allocations: 0 / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003541/0.3381, allocations: 101.4 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.3382, allocations: 141 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3384, allocations: 150.4 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3384, allocations: 25.7 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.3385, allocations: 92.14 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3385, allocations: 7.891 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3385, allocations: 17.72 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3387, allocations: 322.8 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.3387, allocations: 12 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.3388, allocations: 44.28 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3389, allocations: 56.22 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3389, allocations: 8 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000161/0.3391, allocations: 81.45 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3391, allocations: 8 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3391, allocations: 0 / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3392, allocations: 0 / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3393, allocations: 15.98 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3393, allocations: 3.938 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3394, allocations: 8.281 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3394, allocations: 8 kB / 413.7 MB, free: 12.29 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.0001314/0.3395, allocations: 129.7 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3396, allocations: 61.53 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.3397, allocations: 11.83 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3397, allocations: 4 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3397, allocations: 3.938 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3397, allocations: 7.938 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3399, allocations: 181.6 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3399, allocations: 7.938 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.34, allocations: 15.98 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.34, allocations: 0 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.34, allocations: 0 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3401, allocations: 4 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3401, allocations: 3.938 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3403, allocations: 202 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/0.3404, allocations: 92.91 kB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3405, allocations: 8 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.3405, allocations: 3.984 kB / 414.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3406, allocations: 11.92 kB / 414.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.3406, allocations: 4 kB / 414.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3407, allocations: 110.8 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3407, allocations: 4 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.341, allocations: 12 kB / 414.5 MB, free: 11.31 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.0006163/0.3416, allocations: 0.7227 MB / 415.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.3418, allocations: 47.84 kB / 415.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3418, allocations: 4 kB / 415.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.3419, allocations: 11.98 kB / 415.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3423, allocations: 32.48 kB / 415.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3441, allocations: 1.472 MB / 416.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3445, allocations: 0.7001 MB / 417.5 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.579e-05/0.3445, allocations: 8 kB / 417.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3446, allocations: 23.42 kB / 417.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3446, allocations: 0 / 417.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3658, allocations: 1.903 MB / 419.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.399, allocations: 2.406 kB / 419.5 MB, free: 6.305 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