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.001951/0.00195, allocations: 105.8 kB / 17.06 MB, free: 6.016 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.002329/0.002329, allocations: 195 kB / 18 MB, free: 5.094 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.448/2.448, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 47.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.4958, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.008839/0.5047, allocations: 1.849 MB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.5072, allocations: 0.6339 MB / 402.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.5076, allocations: 7.938 kB / 402.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.508, allocations: 19.73 kB / 402.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.5082, allocations: 27.8 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.5089, allocations: 103.7 kB / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.5092, allocations: 135.6 kB / 403 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.5094, allocations: 57.7 kB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.5096, allocations: 63.7 kB / 403.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.5098, allocations: 43.72 kB / 403.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.5099, allocations: 12 kB / 403.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.5099, allocations: 8 kB / 403.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.51, allocations: 31.86 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.5102, allocations: 67.53 kB / 403.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.5106, allocations: 143.4 kB / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.5106, allocations: 0 / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.5107, allocations: 4 kB / 403.4 MB, free: 5.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.5107, allocations: 0 / 403.4 MB, free: 5.621 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.001284/0.512, allocations: 463.6 kB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.219e-05/0.5121, allocations: 8.031 kB / 403.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.004e-05/0.5122, allocations: 38.75 kB / 403.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.5123, allocations: 16.75 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.513, allocations: 245.8 kB / 404.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.5131, allocations: 11.94 kB / 404.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.5131, allocations: 12 kB / 404.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.5141, allocations: 277.3 kB / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5141, allocations: 0 / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.5141, allocations: 0 / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5142, allocations: 4 kB / 404.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.5145, allocations: 83.81 kB / 404.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.5153, allocations: 423.4 kB / 405 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.516, allocations: 294.1 kB / 405.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.5163, allocations: 108.3 kB / 405.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.5164, allocations: 11.92 kB / 405.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.5164, allocations: 46.44 kB / 405.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.694e-06/0.5165, allocations: 0 / 405.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008628/0.5173, allocations: 213.2 kB / 405.6 MB, free: 3.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/0.5176, allocations: 196.3 kB / 405.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.5179, allocations: 175.5 kB / 406 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.5179, allocations: 33.7 kB / 406 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.5181, allocations: 108.1 kB / 406.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.5181, allocations: 7.906 kB / 406.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5182, allocations: 37.7 kB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.5185, allocations: 322.8 kB / 406.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.5186, allocations: 19.98 kB / 406.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.5188, allocations: 140.9 kB / 406.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.5192, allocations: 161.6 kB / 406.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5192, allocations: 0 / 406.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004626/0.5197, allocations: 161.2 kB / 407 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.5198, allocations: 11.94 kB / 407 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.5198, allocations: 4 kB / 407 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.5198, allocations: 4.688 kB / 407 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.52, allocations: 43.92 kB / 407 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.864e-05/0.5201, allocations: 7.984 kB / 407 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5203, allocations: 15.84 kB / 407.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.5203, allocations: 11.98 kB / 407.1 MB, free: 1.52 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.0002214/0.5205, allocations: 133.8 kB / 407.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.521, allocations: 141.3 kB / 407.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.918e-05/0.5211, allocations: 25.44 kB / 407.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.5211, allocations: 11.98 kB / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5211, allocations: 0 / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.5212, allocations: 4 kB / 407.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.5217, allocations: 213.4 kB / 407.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5217, allocations: 4 kB / 407.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5219, allocations: 39.91 kB / 407.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.5219, allocations: 3.938 kB / 407.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5219, allocations: 8 kB / 407.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5219, allocations: 0 / 407.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.522, allocations: 4 kB / 407.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.5226, allocations: 360.9 kB / 408 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5227, allocations: 112.8 kB / 408.1 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.5228, allocations: 8 kB / 408.1 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.523, allocations: 12 kB / 408.1 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.5231, allocations: 3.984 kB / 408.1 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.5231, allocations: 4.094 kB / 408.1 MB, free: 344 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.5233, allocations: 141.1 kB / 408.3 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5233, allocations: 0 / 408.3 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006235/0.5239, allocations: 23.94 kB / 408.3 MB, free: 180 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.001248/0.5252, allocations: 0.9005 MB / 409.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.5257, allocations: 103.8 kB / 409.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.5257, allocations: 7.938 kB / 409.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.5258, allocations: 12.98 kB / 409.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.5269, allocations: 100.2 kB / 409.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.5311, allocations: 2.057 MB / 411.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.5317, allocations: 0.7318 MB / 412.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.5318, allocations: 13.55 kB / 412.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5319, allocations: 43.89 kB / 412.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of SimCode: time 1.212e-06/0.532, allocations: 0 / 412.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.5668, allocations: 3.445 MB / 415.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.95, allocations: 4.578 kB / 415.7 MB, free: 8.672 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