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.001608/0.001608, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.00171/0.00171, allocations: 200 kB / 18.01 MB, free: 5.047 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003459/0.3513, allocations: 1.849 MB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3526, allocations: 0.6351 MB / 402.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3527, allocations: 11.88 kB / 402.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3529, allocations: 19.8 kB / 402.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3531, allocations: 23.8 kB / 402.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.3535, allocations: 107.6 kB / 402.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.3537, allocations: 139.6 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.3539, allocations: 57.72 kB / 403.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3541, allocations: 55.7 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.3542, allocations: 51.72 kB / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.3542, allocations: 12 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.3542, allocations: 12 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.3543, allocations: 31.86 kB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.3544, allocations: 63.59 kB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.3546, allocations: 146.2 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3547, allocations: 0 / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3547, allocations: 0 / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3547, allocations: 0 / 403.4 MB, free: 5.602 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.0006661/0.3553, allocations: 454.8 kB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3554, allocations: 11.97 kB / 403.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.3555, allocations: 42.75 kB / 403.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.3555, allocations: 20.8 kB / 404 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3558, allocations: 249.8 kB / 404.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3559, allocations: 11.94 kB / 404.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3559, allocations: 4 kB / 404.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.3565, allocations: 269.8 kB / 404.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3565, allocations: 11.98 kB / 404.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3565, allocations: 4 kB / 404.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3565, allocations: 4 kB / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3567, allocations: 75.77 kB / 404.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.3573, allocations: 427.5 kB / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3578, allocations: 294 kB / 405.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.358, allocations: 108.4 kB / 405.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.358, allocations: 7.984 kB / 405.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.358, allocations: 42.5 kB / 405.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.3581, allocations: 4 kB / 405.4 MB, free: 3.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005644/0.3586, allocations: 209.7 kB / 405.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.3588, allocations: 204.2 kB / 405.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.3589, allocations: 179.1 kB / 406 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.359, allocations: 25.7 kB / 406 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.3591, allocations: 108.1 kB / 406.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3591, allocations: 19.83 kB / 406.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3592, allocations: 33.7 kB / 406.2 MB, free: 2.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3593, allocations: 330.8 kB / 406.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.383e-05/0.3594, allocations: 19.98 kB / 406.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.3595, allocations: 137.1 kB / 406.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.3597, allocations: 157.5 kB / 406.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3598, allocations: 4 kB / 406.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002591/0.36, allocations: 165.5 kB / 407 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.36, allocations: 11.94 kB / 407 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3601, allocations: 4 kB / 407 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3601, allocations: 4 kB / 407 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3602, allocations: 31.92 kB / 407.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3602, allocations: 11.98 kB / 407.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.3603, allocations: 15.89 kB / 407.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3604, allocations: 11.94 kB / 407.1 MB, free: 1.488 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.0001171/0.3605, allocations: 138 kB / 407.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.3608, allocations: 149.4 kB / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3608, allocations: 17.41 kB / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3608, allocations: 4 kB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3608, allocations: 4 kB / 407.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3608, allocations: 3.984 kB / 407.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3611, allocations: 217.5 kB / 407.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3611, allocations: 0 / 407.6 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3613, allocations: 40 kB / 407.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.3613, allocations: 7.938 kB / 407.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3613, allocations: 3.938 kB / 407.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.3613, allocations: 4 kB / 407.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3613, allocations: 0 / 407.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.3617, allocations: 353.2 kB / 408 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3619, allocations: 117.1 kB / 408.1 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3619, allocations: 11.94 kB / 408.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.362, allocations: 4 kB / 408.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3621, allocations: 11.97 kB / 408.2 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3621, allocations: 12 kB / 408.2 MB, free: 304 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3622, allocations: 133.3 kB / 408.3 MB, free: 172 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.3623, allocations: 3.938 kB / 408.3 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.3626, allocations: 23.94 kB / 408.3 MB, free: 144 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.0008481/0.3634, allocations: 0.8967 MB / 409.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.3638, allocations: 112.6 kB / 409.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3638, allocations: 0 / 409.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.3638, allocations: 15.98 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.0006798/0.3645, allocations: 99.86 kB / 409.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.367, allocations: 2.067 MB / 411.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3672, allocations: 0.7279 MB / 412.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.3673, allocations: 17.55 kB / 412.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.3674, allocations: 39.42 kB / 412.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3674, allocations: 480 / 412.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.3886, allocations: 3.383 MB / 415.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.609, allocations: 12.56 kB / 415.7 MB, free: 8.688 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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