Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001361/0.001361, allocations: 111.8 kB / 17.07 MB, free: 5.973 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.001272/0.001272, allocations: 200 kB / 18.01 MB, free: 5.051 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.473/1.473, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.002021, allocations: 51.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003626/0.3795, allocations: 1.863 MB / 402.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3809, allocations: 0.6311 MB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.381, allocations: 4 kB / 402.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3812, allocations: 19.73 kB / 402.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.3814, allocations: 27.78 kB / 402.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.3818, allocations: 103.7 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.382, allocations: 135.6 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.3822, allocations: 57.7 kB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3823, allocations: 55.72 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3825, allocations: 51.7 kB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.3825, allocations: 12 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.3825, allocations: 11.94 kB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.3826, allocations: 35.8 kB / 403.2 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.3827, allocations: 59.61 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3829, allocations: 146.3 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3829, allocations: 0 / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.383, allocations: 0 / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.383, allocations: 4 kB / 403.4 MB, free: 5.605 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.0007151/0.3837, allocations: 454.8 kB / 403.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3837, allocations: 8.031 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.3838, allocations: 42.69 kB / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.3838, allocations: 24.73 kB / 404 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3842, allocations: 246 kB / 404.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3843, allocations: 11.94 kB / 404.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3843, allocations: 4 kB / 404.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.3851, allocations: 288.4 kB / 404.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3851, allocations: 0 / 404.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3851, allocations: 0 / 404.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3851, allocations: 4 kB / 404.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.3854, allocations: 75.83 kB / 404.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.3859, allocations: 427.4 kB / 405 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.3865, allocations: 290 kB / 405.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.3867, allocations: 112.4 kB / 405.4 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3867, allocations: 7.984 kB / 405.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.3868, allocations: 42.44 kB / 405.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3868, allocations: 0 / 405.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005894/0.3874, allocations: 217.3 kB / 405.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.3875, allocations: 195.9 kB / 405.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3877, allocations: 179.1 kB / 406 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3877, allocations: 30.08 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.3878, allocations: 108 kB / 406.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3879, allocations: 15.94 kB / 406.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.3879, allocations: 33.7 kB / 406.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3881, allocations: 326.8 kB / 406.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.3882, allocations: 19.98 kB / 406.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3884, allocations: 138.4 kB / 406.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3886, allocations: 157.6 kB / 406.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3886, allocations: 4 kB / 406.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002797/0.3889, allocations: 165.2 kB / 407 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3889, allocations: 11.94 kB / 407 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.389, allocations: 4 kB / 407 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.389, allocations: 4 kB / 407 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3891, allocations: 36.42 kB / 407.1 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3891, allocations: 8 kB / 407.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.3892, allocations: 19.88 kB / 407.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3892, allocations: 8 kB / 407.1 MB, free: 1.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001557/0.3894, allocations: 137.7 kB / 407.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.3897, allocations: 145.4 kB / 407.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.3898, allocations: 21.41 kB / 407.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3898, allocations: 12.03 kB / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3898, allocations: 0 / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3898, allocations: 3.984 kB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.3901, allocations: 217.5 kB / 407.6 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3901, allocations: 7.938 kB / 407.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3903, allocations: 32.44 kB / 407.7 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.3903, allocations: 7.938 kB / 407.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3903, allocations: 4 kB / 407.7 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3903, allocations: 4 kB / 407.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3903, allocations: 0 / 407.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.3908, allocations: 363.5 kB / 408 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3909, allocations: 116.8 kB / 408.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3909, allocations: 12 kB / 408.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3911, allocations: 4 kB / 408.2 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3911, allocations: 11.98 kB / 408.2 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3911, allocations: 4 kB / 408.2 MB, free: 312 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3913, allocations: 137.2 kB / 408.3 MB, free: 176 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3913, allocations: 3.938 kB / 408.3 MB, free: 172 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.3916, allocations: 20 kB / 408.3 MB, free: 152 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008338/0.3924, allocations: 0.8935 MB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3928, allocations: 111.8 kB / 409.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3928, allocations: 0 / 409.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.3928, allocations: 17.05 kB / 409.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.3935, allocations: 96.08 kB / 409.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.3963, allocations: 2.071 MB / 411.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3967, allocations: 0.7318 MB / 412.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.117e-05/0.3968, allocations: 13.55 kB / 412.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/0.3969, allocations: 43.42 kB / 412.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3969, allocations: 0 / 412.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4243, allocations: 3.379 MB / 415.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.191, allocations: 10.39 kB / 415.7 MB, free: 8.703 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches