Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008239/0.0008239, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8764/0.8764, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.357e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002418/0.002442, allocations: 1.846 MB / 326.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.003495, allocations: 0.6622 MB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.003615, allocations: 7.938 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.003761, allocations: 23.73 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.003897, allocations: 27.78 kB / 327.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.004262, allocations: 126.9 kB / 327.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004431, allocations: 143.5 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004561, allocations: 41.95 kB / 327.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.00471, allocations: 91.73 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.004775, allocations: 27.84 kB / 327.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.004797, allocations: 12 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.136e-05/0.004839, allocations: 16 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.004886, allocations: 27.91 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.004922, allocations: 39.84 kB / 327.7 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.00511, allocations: 151.4 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.005113, allocations: 0 / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005114, allocations: 4 kB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.005119, allocations: 0 / 327.8 MB, free: 12.69 MB / 298.7 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.0004618/0.00558, allocations: 381.6 kB / 328.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.005619, allocations: 8.031 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.005653, allocations: 42.73 kB / 328.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.005763, allocations: 28.83 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.00601, allocations: 198 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.006024, allocations: 8.562 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.006036, allocations: 8.125 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.006419, allocations: 300.9 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001614/0.006581, allocations: 11.92 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006591, allocations: 0 / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006598, allocations: 4 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.006716, allocations: 71.89 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.007068, allocations: 374.6 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.00735, allocations: 216.9 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.007458, allocations: 104.3 kB / 329.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.00748, allocations: 4 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.007503, allocations: 38.56 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.674e-06/0.007504, allocations: 0 / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003523/0.007857, allocations: 225.5 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.007947, allocations: 195.8 kB / 330 MB, free: 10.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008075, allocations: 187.6 kB / 330.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.00809, allocations: 25.7 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.008145, allocations: 108.1 kB / 330.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.008164, allocations: 11.89 kB / 330.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.008203, allocations: 21.7 kB / 330.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.00829, allocations: 318.8 kB / 330.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.008315, allocations: 7.984 kB / 330.6 MB, free: 9.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.008358, allocations: 60.36 kB / 330.7 MB, free: 9.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.008408, allocations: 33.64 kB / 330.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00841, allocations: 0 / 330.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.593e-05/0.008486, allocations: 57.64 kB / 330.8 MB, free: 9.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.0085, allocations: 4 kB / 330.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.008506, allocations: 4 kB / 330.8 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008519, allocations: 8.281 kB / 330.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.008564, allocations: 7.984 kB / 330.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.00857, allocations: 4.312 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.008597, allocations: 4 kB / 330.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008603, allocations: 3.984 kB / 330.8 MB, free: 9.336 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.614e-05/0.008679, allocations: 125.8 kB / 331 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.008827, allocations: 145.4 kB / 331.1 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.00886, allocations: 25.45 kB / 331.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.008864, allocations: 11.97 kB / 331.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.008869, allocations: 0 / 331.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.008874, allocations: 4 kB / 331.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.009042, allocations: 164.7 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009045, allocations: 4 kB / 331.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.00911, allocations: 39.91 kB / 331.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.009112, allocations: 0 / 331.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.009121, allocations: 8 kB / 331.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009123, allocations: 3.938 kB / 331.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.009126, allocations: 7.984 kB / 331.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000447/0.009573, allocations: 361.1 kB / 331.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.009645, allocations: 35.81 kB / 331.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.009664, allocations: 4 kB / 331.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.009833, allocations: 15.94 kB / 331.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.009869, allocations: 7.922 kB / 331.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.009877, allocations: 4 kB / 331.8 MB, free: 8.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.142e-05/0.009969, allocations: 136.4 kB / 331.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.009969, allocations: 0 / 331.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.01017, allocations: 20 kB / 331.9 MB, free: 8.156 MB / 298.7 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.0004929/0.01066, allocations: 0.882 MB / 332.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01084, allocations: 67.89 kB / 332.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01084, allocations: 0 / 332.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.01086, allocations: 20.06 kB / 332.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.01134, allocations: 109.3 kB / 333 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.01301, allocations: 1.829 MB / 334.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.0131, allocations: 114.8 kB / 334.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.319e-05/0.01316, allocations: 5.344 kB / 335 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.01325, allocations: 40.48 kB / 335 MB, free: 4.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.844e-06/0.01325, allocations: 0 / 335 MB, free: 4.93 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02893, allocations: 4.058 MB / 339.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.054, allocations: 8.938 kB / 339.1 MB, free: 1.004 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.723745719529688]