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.001718/0.001718, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.002228/0.002228, allocations: 198.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.447/2.447, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.5505, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004501/0.5551, allocations: 1.604 MB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.5565, allocations: 0.4931 MB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.5566, allocations: 3.938 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.612e-05/0.5567, allocations: 11.86 kB / 402.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.557, allocations: 15.88 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.5574, allocations: 55.83 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.5576, allocations: 51.78 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5577, allocations: 23.97 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.5578, allocations: 23.86 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.5579, allocations: 23.86 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.558, allocations: 4 kB / 402.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.558, allocations: 8 kB / 402.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.035e-05/0.5581, allocations: 19.91 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.5582, allocations: 31.81 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.5583, allocations: 63.67 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5584, allocations: 0 / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5584, allocations: 0 / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.5584, allocations: 0 / 402.7 MB, free: 6.375 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.0006645/0.5591, allocations: 384.7 kB / 403 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.5591, allocations: 8.031 kB / 403.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.5592, allocations: 38.75 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.5593, allocations: 12.84 kB / 403.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.5597, allocations: 200.7 kB / 403.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5597, allocations: 4.375 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.5597, allocations: 7.938 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.5602, allocations: 130.7 kB / 403.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5602, allocations: 4 kB / 403.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5602, allocations: 3.984 kB / 403.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.5602, allocations: 0 / 403.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.5604, allocations: 31.91 kB / 403.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.5609, allocations: 291.4 kB / 403.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.5611, allocations: 94.36 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5613, allocations: 51.48 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.5613, allocations: 7.984 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5614, allocations: 34.55 kB / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.5614, allocations: 0 / 403.9 MB, free: 4.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005196/0.5619, allocations: 105.5 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.5621, allocations: 136.5 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.5624, allocations: 151.4 kB / 404.3 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5624, allocations: 29.7 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.5625, allocations: 92.64 kB / 404.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.5626, allocations: 7.891 kB / 404.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.5626, allocations: 17.72 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.5629, allocations: 322.8 kB / 404.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.563, allocations: 12 kB / 404.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.5631, allocations: 44.22 kB / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.5633, allocations: 60.22 kB / 404.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5633, allocations: 4 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002868/0.5636, allocations: 85.45 kB / 405 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.5637, allocations: 8 kB / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5637, allocations: 0 / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.5637, allocations: 0 / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.5639, allocations: 15.98 kB / 405 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5639, allocations: 3.938 kB / 405 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.564, allocations: 4 kB / 405 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.564, allocations: 4 kB / 405 MB, free: 3.676 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.0001652/0.5642, allocations: 129.9 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5644, allocations: 57.5 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.5645, allocations: 11.88 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5645, allocations: 4 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5645, allocations: 3.938 kB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5645, allocations: 0 / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.5649, allocations: 181.6 kB / 405.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.565, allocations: 0 / 405.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5651, allocations: 15.92 kB / 405.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.5651, allocations: 8.062 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.5651, allocations: 0 / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.5651, allocations: 4 kB / 405.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.5652, allocations: 3.938 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.5655, allocations: 198.1 kB / 405.6 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5657, allocations: 93 kB / 405.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.5657, allocations: 12 kB / 405.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.5659, allocations: 3.984 kB / 405.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5659, allocations: 7.938 kB / 405.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5659, allocations: 0 / 405.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.5661, allocations: 113.3 kB / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5661, allocations: 0 / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000491/0.5666, allocations: 12 kB / 405.9 MB, free: 2.723 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.0007438/0.5673, allocations: 0.7304 MB / 406.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.5676, allocations: 55.84 kB / 406.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5676, allocations: 0 / 406.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.5677, allocations: 11.94 kB / 406.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.5684, allocations: 39.94 kB / 406.7 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.571, allocations: 1.458 MB / 408.2 MB, free: 280 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5715, allocations: 0.6961 MB / 408.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.5715, allocations: 7.984 kB / 408.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.5716, allocations: 15.44 kB / 408.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5716, allocations: 8 kB / 408.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.6769, allocations: 1.877 MB / 410.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.82, allocations: 7.859 kB / 410.8 MB, free: 13.73 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