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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 190.6 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 47.92 kB / 366.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003238/0.1052, allocations: 1.869 MB / 420.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1063, allocations: 0.6312 MB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1064, allocations: 11.88 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1065, allocations: 19.73 kB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1067, allocations: 27.78 kB / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.107, allocations: 103.1 kB / 421.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1073, allocations: 143.5 kB / 421.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1074, allocations: 45.72 kB / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1075, allocations: 55.72 kB / 421.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.1076, allocations: 51.7 kB / 421.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1076, allocations: 12 kB / 421.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.1076, allocations: 8 kB / 421.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.1077, allocations: 27.92 kB / 421.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.1078, allocations: 67.48 kB / 421.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.108, allocations: 139.4 kB / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.108, allocations: 0 / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.108, allocations: 0 / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.108, allocations: 0 / 421.7 MB, free: 9.402 MB / 350.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.0006879/0.1087, allocations: 462.8 kB / 422.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1087, allocations: 8.031 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.1088, allocations: 4.375 kB / 422.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.1088, allocations: 50.67 kB / 422.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.1089, allocations: 20.8 kB / 422.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1092, allocations: 248.6 kB / 422.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1092, allocations: 8 kB / 422.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1093, allocations: 8 kB / 422.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.1099, allocations: 272.2 kB / 422.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1099, allocations: 0 / 422.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1099, allocations: 8 kB / 422.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1099, allocations: 3.938 kB / 422.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1101, allocations: 71.89 kB / 422.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.1106, allocations: 431.4 kB / 423.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.1111, allocations: 286.1 kB / 423.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1113, allocations: 104.2 kB / 423.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1113, allocations: 11.92 kB / 423.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1114, allocations: 50.48 kB / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1114, allocations: 0 / 423.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000562/0.112, allocations: 221.3 kB / 423.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.1121, allocations: 187.9 kB / 424.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1123, allocations: 179.5 kB / 424.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1123, allocations: 37.69 kB / 424.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.1124, allocations: 104.1 kB / 424.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1124, allocations: 11.94 kB / 424.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1125, allocations: 33.7 kB / 424.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1126, allocations: 326.8 kB / 424.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.1127, allocations: 19.98 kB / 424.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1128, allocations: 140.8 kB / 424.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.1131, allocations: 153.6 kB / 425.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1131, allocations: 0 / 425.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002914/0.1134, allocations: 177.1 kB / 425.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1134, allocations: 4 kB / 425.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1134, allocations: 4 kB / 425.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1134, allocations: 4.5 kB / 425.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1135, allocations: 39.92 kB / 425.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1135, allocations: 4 kB / 425.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.1136, allocations: 27.81 kB / 425.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1137, allocations: 8 kB / 425.3 MB, free: 5.281 MB / 350.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.0001228/0.1138, allocations: 133.7 kB / 425.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.1141, allocations: 141.8 kB / 425.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.1141, allocations: 25.52 kB / 425.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1141, allocations: 7.938 kB / 425.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1141, allocations: 0 / 425.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1141, allocations: 4 kB / 425.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.1144, allocations: 217.5 kB / 425.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1144, allocations: 11.88 kB / 425.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1146, allocations: 35.97 kB / 425.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1146, allocations: 0 / 425.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1146, allocations: 4 kB / 425.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1146, allocations: 0 / 425.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1146, allocations: 4 kB / 425.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.115, allocations: 353.2 kB / 426.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.1151, allocations: 116.9 kB / 426.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1151, allocations: 8 kB / 426.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1153, allocations: 11.98 kB / 426.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.1153, allocations: 0 / 426.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.1153, allocations: 7.984 kB / 426.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1154, allocations: 133.2 kB / 426.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1154, allocations: 0 / 426.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1158, allocations: 20 kB / 426.6 MB, free: 3.957 MB / 350.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.000753/0.1165, allocations: 0.9033 MB / 427.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.1168, allocations: 111.8 kB / 427.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1168, allocations: 0 / 427.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.1168, allocations: 12.98 kB / 427.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.1174, allocations: 108.4 kB / 427.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.12, allocations: 2.067 MB / 429.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1204, allocations: 0.7318 MB / 430.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.726e-05/0.1204, allocations: 21.84 kB / 430.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1205, allocations: 39.42 kB / 430.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1205, allocations: 0 / 430.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1406, allocations: 3.446 MB / 434 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.089, allocations: 11.42 kB / 434 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 652] (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 --stepSize=3.98486e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.600801803986542]