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.001314/0.001314, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001455/0.001455, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.44/1.44, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001461/0.001461, allocations: 55.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1067, allocations: 53.32 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003536/0.1102, allocations: 1.875 MB / 428.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1117, allocations: 0.7013 MB / 428.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1118, allocations: 11.88 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.112, allocations: 23.73 kB / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1121, allocations: 31.73 kB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1125, allocations: 119.6 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1127, allocations: 135.6 kB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.1129, allocations: 45.69 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.113, allocations: 63.72 kB / 429.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1131, allocations: 51.7 kB / 429.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1131, allocations: 8 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.1132, allocations: 24 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.1133, allocations: 27.84 kB / 429.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.1133, allocations: 63.61 kB / 429.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1135, allocations: 159.2 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1136, allocations: 0 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1136, allocations: 0 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1136, allocations: 0 / 429.6 MB, free: 1.414 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.0006872/0.1142, allocations: 454.8 kB / 430.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1143, allocations: 8.031 kB / 430.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.1143, allocations: 42.73 kB / 430.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1145, allocations: 28.83 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.1149, allocations: 256.1 kB / 430.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1149, allocations: 11.94 kB / 430.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1149, allocations: 4 kB / 430.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.1155, allocations: 284.6 kB / 430.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1155, allocations: 4 kB / 430.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1156, allocations: 4 kB / 430.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1156, allocations: 8 kB / 430.7 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.1158, allocations: 75.83 kB / 430.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.1164, allocations: 431.4 kB / 431.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.1169, allocations: 282.1 kB / 431.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1171, allocations: 108.3 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1171, allocations: 0 / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.1172, allocations: 50.44 kB / 431.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.1172, allocations: 0 / 431.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000573/0.1177, allocations: 209.4 kB / 431.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.1179, allocations: 200.2 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1181, allocations: 182.3 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.1181, allocations: 29.7 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.1182, allocations: 100.1 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1182, allocations: 11.98 kB / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.1183, allocations: 41.66 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1184, allocations: 322.8 kB / 432.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1185, allocations: 31.89 kB / 432.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1186, allocations: 126.5 kB / 432.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1189, allocations: 157.6 kB / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1189, allocations: 4 kB / 433 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002821/0.1191, allocations: 161.6 kB / 433.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1192, allocations: 18.53 kB / 433.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1192, allocations: 4 kB / 433.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1192, allocations: 7.938 kB / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1193, allocations: 31.98 kB / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1193, allocations: 7.938 kB / 433.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.1194, allocations: 15.92 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1194, allocations: 8 kB / 433.3 MB, free: 13.31 MB / 366.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.0001182/0.1196, allocations: 133.8 kB / 433.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.1199, allocations: 157.9 kB / 433.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.1199, allocations: 17.41 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1199, allocations: 4 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1199, allocations: 3.938 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1199, allocations: 8.078 kB / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1202, allocations: 213.5 kB / 433.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1202, allocations: 4 kB / 433.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1204, allocations: 43.91 kB / 433.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1204, allocations: 7.969 kB / 433.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1204, allocations: 4 kB / 433.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1204, allocations: 0 / 433.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1204, allocations: 3.984 kB / 433.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004585/0.1209, allocations: 365 kB / 434.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.121, allocations: 108.9 kB / 434.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.121, allocations: 7.984 kB / 434.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1212, allocations: 16 kB / 434.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.1212, allocations: 3.984 kB / 434.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1212, allocations: 4 kB / 434.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1213, allocations: 132.4 kB / 434.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1213, allocations: 4 kB / 434.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.1217, allocations: 23.98 kB / 434.5 MB, free: 11.95 MB / 366.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.0008713/0.1225, allocations: 0.9001 MB / 435.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.1229, allocations: 108.4 kB / 435.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1229, allocations: 4.25 kB / 435.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.1229, allocations: 15.92 kB / 435.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1236, allocations: 104.7 kB / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.1263, allocations: 2.07 MB / 437.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1267, allocations: 0.7202 MB / 438.4 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.1268, allocations: 13.55 kB / 438.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.1269, allocations: 43.42 kB / 438.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1269, allocations: 0 / 438.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.1539, allocations: 3.418 MB / 441.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.186, allocations: 11.69 kB / 441.9 MB, free: 4.461 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/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: 10.721355632180348]