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.001633/0.001633, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.00204/0.002041, allocations: 200 kB / 18.01 MB, free: 5.055 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.741/2.741, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002102, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4842, allocations: 49.44 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.006431/0.4907, allocations: 1.846 MB / 402.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.4929, allocations: 0.6312 MB / 402.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.4933, allocations: 7.938 kB / 402.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.4936, allocations: 23.8 kB / 402.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.4939, allocations: 23.73 kB / 402.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.4946, allocations: 106.5 kB / 402.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.495, allocations: 135.6 kB / 403 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.4953, allocations: 61.7 kB / 403.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.4955, allocations: 59.72 kB / 403.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.4956, allocations: 51.7 kB / 403.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.4957, allocations: 12 kB / 403.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.4957, allocations: 8 kB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.4958, allocations: 39.84 kB / 403.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.4959, allocations: 59.61 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4963, allocations: 147.4 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.4963, allocations: 0 / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4963, allocations: 0 / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.4963, allocations: 0 / 403.4 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.0009492/0.4973, allocations: 448.6 kB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.4974, allocations: 8.031 kB / 403.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.092e-05/0.4974, allocations: 42.73 kB / 403.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.4975, allocations: 24.69 kB / 404 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/0.4982, allocations: 249.7 kB / 404.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.4982, allocations: 11.94 kB / 404.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4982, allocations: 4 kB / 404.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.4991, allocations: 269.7 kB / 404.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4992, allocations: 7.938 kB / 404.5 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.4992, allocations: 8 kB / 404.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4992, allocations: 4 kB / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.4996, allocations: 75.81 kB / 404.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.5003, allocations: 427.4 kB / 405 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.5011, allocations: 290.1 kB / 405.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.5014, allocations: 108.3 kB / 405.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.5014, allocations: 4 kB / 405.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.5015, allocations: 46.44 kB / 405.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.946e-06/0.5015, allocations: 0 / 405.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008129/0.5023, allocations: 213.3 kB / 405.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.5025, allocations: 200.2 kB / 405.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.5028, allocations: 179.1 kB / 406 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5028, allocations: 25.7 kB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5029, allocations: 108.4 kB / 406.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.503, allocations: 15.89 kB / 406.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.5031, allocations: 29.72 kB / 406.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5032, allocations: 326.8 kB / 406.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5034, allocations: 31.91 kB / 406.5 MB, free: 2.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5036, allocations: 132.9 kB / 406.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.5039, allocations: 161.6 kB / 406.8 MB, free: 1.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.5039, allocations: 4 kB / 406.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004174/0.5043, allocations: 157.9 kB / 407 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.5044, allocations: 11.94 kB / 407 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5044, allocations: 4 kB / 407 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.5044, allocations: 11.97 kB / 407 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.5046, allocations: 31.92 kB / 407 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.5047, allocations: 11.94 kB / 407.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.5049, allocations: 19.84 kB / 407.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.5049, allocations: 8 kB / 407.1 MB, free: 1.496 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.0001795/0.5051, allocations: 137.8 kB / 407.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.5056, allocations: 145.4 kB / 407.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.688e-05/0.5056, allocations: 21.39 kB / 407.4 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.5057, allocations: 4 kB / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5057, allocations: 0 / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5057, allocations: 0 / 407.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.5062, allocations: 229.4 kB / 407.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.5062, allocations: 0 / 407.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.5064, allocations: 35.92 kB / 407.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.5064, allocations: 11.97 kB / 407.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.5065, allocations: 4 kB / 407.7 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5065, allocations: 4 kB / 407.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5065, allocations: 3.984 kB / 407.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.5072, allocations: 353 kB / 408 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5073, allocations: 112.8 kB / 408.1 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.5074, allocations: 8 kB / 408.1 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.5076, allocations: 7.984 kB / 408.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.5077, allocations: 4 kB / 408.1 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.5077, allocations: 8 kB / 408.1 MB, free: 320 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.5079, allocations: 137.2 kB / 408.3 MB, free: 184 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5079, allocations: 3.938 kB / 408.3 MB, free: 180 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.5085, allocations: 23.94 kB / 408.3 MB, free: 156 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.00112/0.5096, allocations: 0.9005 MB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.5101, allocations: 112.4 kB / 409.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5102, allocations: 4.312 kB / 409.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.5103, allocations: 15.94 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.001047/0.5113, allocations: 99.92 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.003925/0.5153, allocations: 2.06 MB / 411.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/0.5158, allocations: 0.724 MB / 412.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.516, allocations: 17.73 kB / 412.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5161, allocations: 39.42 kB / 412.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5161, allocations: 0 / 412.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/0.5904, allocations: 3.441 MB / 415.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.74, allocations: 15.22 kB / 415.7 MB, free: 8.641 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