Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 112.9 kB / 17.06 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 200 kB / 18.01 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241.7 MB, free: 14.88 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.92 kB / 350.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3517, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004193/0.356, allocations: 1.616 MB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3573, allocations: 0.4991 MB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.3574, allocations: 4 kB / 402.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.3575, allocations: 3.938 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.3577, allocations: 15.84 kB / 402.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3581, allocations: 53.95 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3583, allocations: 51.8 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3584, allocations: 15.98 kB / 402.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3585, allocations: 43.78 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.3586, allocations: 19.86 kB / 402.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.3587, allocations: 4 kB / 402.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.3587, allocations: 4 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.3588, allocations: 15.92 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.3588, allocations: 27.81 kB / 402.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.359, allocations: 62.69 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.359, allocations: 3.984 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.359, allocations: 0 / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.359, allocations: 0 / 402.7 MB, free: 6.367 MB / 318.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.0006059/0.3597, allocations: 383.1 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3597, allocations: 23.84 kB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.3598, allocations: 34.75 kB / 403.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3598, allocations: 16.83 kB / 403.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3601, allocations: 204.8 kB / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3601, allocations: 384 / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3602, allocations: 11.94 kB / 403.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.3605, allocations: 130.7 kB / 403.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3605, allocations: 3.984 kB / 403.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3605, allocations: 0 / 403.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3605, allocations: 0 / 403.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3607, allocations: 31.92 kB / 403.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3611, allocations: 283.5 kB / 403.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3613, allocations: 94.36 kB / 403.9 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3614, allocations: 55.48 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3615, allocations: 0 / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3615, allocations: 38.56 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3615, allocations: 0 / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003375/0.3619, allocations: 97.5 kB / 404.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.362, allocations: 137 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3621, allocations: 145.8 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3622, allocations: 25.7 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.3622, allocations: 100.1 kB / 404.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3623, allocations: 7.891 kB / 404.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3623, allocations: 21.72 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3625, allocations: 318.8 kB / 404.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.3626, allocations: 19.92 kB / 404.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.3627, allocations: 40.3 kB / 404.9 MB, free: 3.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.3628, allocations: 72.14 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3629, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001829/0.363, allocations: 81.52 kB / 405 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3631, allocations: 7.984 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3631, allocations: 0 / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3631, allocations: 4 kB / 405 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.3632, allocations: 8 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3632, allocations: 7.938 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.3633, allocations: 8.141 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3633, allocations: 8.062 kB / 405 MB, free: 3.652 MB / 318.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.0001085/0.3634, allocations: 125.8 kB / 405.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.3635, allocations: 65.56 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3636, allocations: 11.88 kB / 405.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3636, allocations: 0 / 405.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3636, allocations: 3.938 kB / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3636, allocations: 7.984 kB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3638, allocations: 173.7 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3638, allocations: 0 / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.3639, allocations: 19.98 kB / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3639, allocations: 0 / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.364, allocations: 7.938 kB / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.364, allocations: 0 / 405.5 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.364, allocations: 3.938 kB / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3642, allocations: 198 kB / 405.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.3643, allocations: 93.03 kB / 405.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3643, allocations: 8 kB / 405.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.3644, allocations: 4 kB / 405.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.3645, allocations: 7.875 kB / 405.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3645, allocations: 4 kB / 405.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.963e-05/0.3646, allocations: 114.8 kB / 405.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3646, allocations: 0 / 405.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3648, allocations: 12 kB / 405.9 MB, free: 2.699 MB / 318.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.0006129/0.3654, allocations: 0.7266 MB / 406.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3657, allocations: 47.8 kB / 406.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3657, allocations: 4 kB / 406.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.3657, allocations: 7.984 kB / 406.7 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.3661, allocations: 40.39 kB / 406.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.3679, allocations: 1.454 MB / 408.2 MB, free: 268 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3683, allocations: 0.7039 MB / 408.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.3684, allocations: 8.062 kB / 408.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3685, allocations: 27.36 kB / 408.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3685, allocations: 0 / 408.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3945, allocations: 1.852 MB / 410.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.061, allocations: 3.859 kB / 410.8 MB, free: 13.74 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches