Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001696/0.001696, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 60.14 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4072, allocations: 50.54 MB / 408.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003847/0.4111, allocations: 1.865 MB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.413, allocations: 0.6935 MB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.4133, allocations: 11.94 kB / 411.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.4136, allocations: 19.73 kB / 411.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.4138, allocations: 31.72 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.4144, allocations: 111.7 kB / 411.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.4147, allocations: 147.5 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.4149, allocations: 53.72 kB / 411.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.4151, allocations: 67.7 kB / 411.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.4152, allocations: 51.64 kB / 411.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.4152, allocations: 12 kB / 411.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.511e-05/0.4153, allocations: 20 kB / 411.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.4154, allocations: 27.92 kB / 411.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.4155, allocations: 63.55 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.4158, allocations: 146.3 kB / 412.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.4158, allocations: 4 kB / 412.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4158, allocations: 0 / 412.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4158, allocations: 0 / 412.1 MB, free: 14.36 MB / 334.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.0006979/0.4165, allocations: 454.8 kB / 412.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4166, allocations: 16.02 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.4166, allocations: 38.75 kB / 412.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.4168, allocations: 28.83 kB / 412.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.4173, allocations: 256.9 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.4173, allocations: 11.94 kB / 412.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4174, allocations: 8 kB / 412.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.418, allocations: 275.7 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4181, allocations: 7.922 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.4181, allocations: 8 kB / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4181, allocations: 0 / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.4183, allocations: 75.83 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.4191, allocations: 427.5 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.4196, allocations: 294.1 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4198, allocations: 116.2 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4198, allocations: 0 / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4199, allocations: 46.48 kB / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.4199, allocations: 0 / 414.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006085/0.4205, allocations: 213.3 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.4206, allocations: 200.2 kB / 414.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.4209, allocations: 182.3 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4209, allocations: 29.7 kB / 414.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.421, allocations: 108 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.421, allocations: 11.95 kB / 414.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.4211, allocations: 37.7 kB / 414.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4213, allocations: 322.8 kB / 415.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.4213, allocations: 23.98 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4215, allocations: 133 kB / 415.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.4218, allocations: 161.5 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4218, allocations: 4 kB / 415.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003322/0.4221, allocations: 165.7 kB / 415.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.4221, allocations: 11.94 kB / 415.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4222, allocations: 4 kB / 415.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.4222, allocations: 7.938 kB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.4223, allocations: 31.92 kB / 415.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.4224, allocations: 15.92 kB / 415.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4225, allocations: 7.953 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.4225, allocations: 15.98 kB / 415.7 MB, free: 10.22 MB / 334.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.0001566/0.4227, allocations: 133.8 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.4231, allocations: 157.7 kB / 416 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.4232, allocations: 17.41 kB / 416 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4232, allocations: 4 kB / 416 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4232, allocations: 3.984 kB / 416.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4232, allocations: 4.094 kB / 416.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.4235, allocations: 217.4 kB / 416.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4236, allocations: 8 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4237, allocations: 39.91 kB / 416.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.4237, allocations: 11.97 kB / 416.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4238, allocations: 4 kB / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4238, allocations: 0 / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4238, allocations: 0 / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.4242, allocations: 357.2 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4244, allocations: 113.2 kB / 416.8 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.4244, allocations: 4 kB / 416.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.4246, allocations: 12 kB / 416.8 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4246, allocations: 7.969 kB / 416.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4247, allocations: 4 kB / 416.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4248, allocations: 140.4 kB / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4248, allocations: 0 / 417 MB, free: 8.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.4251, allocations: 20 kB / 417 MB, free: 8.871 MB / 334.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.0007481/0.4259, allocations: 0.8996 MB / 417.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.4262, allocations: 108.7 kB / 418 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4262, allocations: 8.062 kB / 418 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.948e-05/0.4263, allocations: 11.92 kB / 418 MB, free: 7.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.427, allocations: 104.1 kB / 418.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.4296, allocations: 2.081 MB / 420.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.43, allocations: 0.7202 MB / 420.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.43, allocations: 13.56 kB / 420.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.4301, allocations: 47.41 kB / 421 MB, free: 4.629 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4301, allocations: 0 / 421 MB, free: 4.629 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.4531, allocations: 3.403 MB / 424.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.675, allocations: 7.922 kB / 424.4 MB, free: 1.375 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches