Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001693/0.001693, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.00178/0.00178, allocations: 193.4 kB / 18 MB, free: 5.172 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.533/1.533, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 51.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3762, allocations: 49.44 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003696/0.38, allocations: 1.862 MB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3813, allocations: 0.6311 MB / 402.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.3815, allocations: 7.938 kB / 402.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.3816, allocations: 19.8 kB / 402.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3818, allocations: 19.8 kB / 402.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3822, allocations: 107.7 kB / 402.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.3824, allocations: 135.6 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3826, allocations: 65.69 kB / 403.1 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3827, allocations: 51.73 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.3828, allocations: 55.7 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3828, allocations: 8 kB / 403.2 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/0.3829, allocations: 12 kB / 403.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.3829, allocations: 31.84 kB / 403.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.043e-05/0.383, allocations: 59.61 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3833, allocations: 146.2 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3833, allocations: 4 kB / 403.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3833, allocations: 0 / 403.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3833, allocations: 0 / 403.5 MB, free: 5.594 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007107/0.384, allocations: 454.8 kB / 403.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3841, allocations: 12.03 kB / 403.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.3841, allocations: 42.73 kB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3842, allocations: 24.73 kB / 404 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.3846, allocations: 245.8 kB / 404.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3846, allocations: 11.94 kB / 404.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3846, allocations: 16 kB / 404.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.3853, allocations: 280.2 kB / 404.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3853, allocations: 3.938 kB / 404.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3853, allocations: 4 kB / 404.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3853, allocations: 0 / 404.5 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.3856, allocations: 75.88 kB / 404.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.3861, allocations: 423.5 kB / 405 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3867, allocations: 302 kB / 405.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.3869, allocations: 108.3 kB / 405.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3869, allocations: 12 kB / 405.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.387, allocations: 34.56 kB / 405.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.387, allocations: 0 / 405.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006083/0.3876, allocations: 217.7 kB / 405.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.3878, allocations: 195.8 kB / 405.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.388, allocations: 187.1 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.388, allocations: 29.7 kB / 406.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.3881, allocations: 100.5 kB / 406.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3881, allocations: 19.89 kB / 406.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.3882, allocations: 41.8 kB / 406.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3884, allocations: 322.8 kB / 406.5 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.573e-05/0.3885, allocations: 27.98 kB / 406.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.3887, allocations: 139.4 kB / 406.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.3889, allocations: 166.4 kB / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3889, allocations: 0 / 406.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003171/0.3893, allocations: 181.2 kB / 407 MB, free: 1.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3893, allocations: 4 kB / 407.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3893, allocations: 4 kB / 407.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3893, allocations: 4 kB / 407.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3895, allocations: 44.45 kB / 407.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3895, allocations: 15.92 kB / 407.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3896, allocations: 19.83 kB / 407.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.3896, allocations: 12 kB / 407.2 MB, free: 1.414 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001428/0.3898, allocations: 137.9 kB / 407.3 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.3901, allocations: 149.4 kB / 407.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.3902, allocations: 21.39 kB / 407.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3902, allocations: 4 kB / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3902, allocations: 7.969 kB / 407.5 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3902, allocations: 4 kB / 407.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.3906, allocations: 217.5 kB / 407.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3906, allocations: 11.92 kB / 407.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.3907, allocations: 35.98 kB / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3907, allocations: 0 / 407.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3907, allocations: 4 kB / 407.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.3908, allocations: 3.984 kB / 407.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.3908, allocations: 7.938 kB / 407.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.3913, allocations: 357.1 kB / 408.1 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3914, allocations: 116.9 kB / 408.2 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3914, allocations: 8 kB / 408.2 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3916, allocations: 15.98 kB / 408.2 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3916, allocations: 3.938 kB / 408.2 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3917, allocations: 8 kB / 408.2 MB, free: 212 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3918, allocations: 133.2 kB / 408.4 MB, free: 80 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3918, allocations: 0 / 408.4 MB, free: 80 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.3921, allocations: 24 kB / 408.4 MB, free: 56 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001059/0.3932, allocations: 0.966 MB / 409.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3936, allocations: 115.8 kB / 409.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3936, allocations: 3.938 kB / 409.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.3936, allocations: 13.05 kB / 409.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.3943, allocations: 120.4 kB / 409.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.397, allocations: 2.062 MB / 411.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3974, allocations: 0.7319 MB / 412.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.3975, allocations: 13.73 kB / 412.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.3976, allocations: 43.42 kB / 412.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3976, allocations: 0 / 412.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.427, allocations: 3.495 MB / 416 MB, free: 8.398 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.046, allocations: 3.031 kB / 416 MB, free: 8.398 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches