Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001711, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 71.88 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1051, allocations: 53.31 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003301/0.1084, allocations: 1.881 MB / 428.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1097, allocations: 0.7013 MB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1098, allocations: 7.938 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.11, allocations: 23.67 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1101, allocations: 23.8 kB / 429.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1105, allocations: 117.9 kB / 429.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1107, allocations: 147.5 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1109, allocations: 41.72 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.111, allocations: 63.7 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.267e-05/0.1111, allocations: 47.72 kB / 429.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1111, allocations: 8 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.1112, allocations: 23.98 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1112, allocations: 31.86 kB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.1113, allocations: 59.61 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.1116, allocations: 155.2 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1116, allocations: 4 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1116, allocations: 0 / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1116, allocations: 0 / 430 MB, free: 1.652 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.0006359/0.1122, allocations: 458.8 kB / 430.4 MB, free: 1.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1123, allocations: 8.031 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.1123, allocations: 42.73 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1125, allocations: 24.83 kB / 430.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.1128, allocations: 256.1 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1129, allocations: 11.94 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1129, allocations: 8 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.1134, allocations: 274.7 kB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1134, allocations: 3.938 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1135, allocations: 4 kB / 431.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1135, allocations: 3.984 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1137, allocations: 79.83 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1142, allocations: 431.6 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.1147, allocations: 286.1 kB / 431.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1149, allocations: 104.2 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1149, allocations: 4 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1149, allocations: 50.48 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1149, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005456/0.1155, allocations: 213.3 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.1157, allocations: 192.2 kB / 432.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1159, allocations: 186.3 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1159, allocations: 29.7 kB / 432.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.116, allocations: 104.1 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.116, allocations: 11.98 kB / 432.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.116, allocations: 37.66 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1162, allocations: 322.8 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.1163, allocations: 27.89 kB / 433.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1164, allocations: 129.2 kB / 433.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1166, allocations: 157.5 kB / 433.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1166, allocations: 4 kB / 433.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003392/0.117, allocations: 165.2 kB / 433.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.117, allocations: 12.44 kB / 433.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.117, allocations: 4 kB / 433.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.117, allocations: 8 kB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1171, allocations: 31.92 kB / 433.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1171, allocations: 7.938 kB / 433.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.471e-05/0.1172, allocations: 19.92 kB / 433.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1173, allocations: 8 kB / 433.6 MB, free: 13.54 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.0001284/0.1174, allocations: 129.8 kB / 433.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.1177, allocations: 157.6 kB / 433.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.1177, allocations: 21.41 kB / 433.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1177, allocations: 0 / 433.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1177, allocations: 4 kB / 433.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1177, allocations: 7.922 kB / 433.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.118, allocations: 217.5 kB / 434.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.118, allocations: 0 / 434.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.1182, allocations: 39.91 kB / 434.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1182, allocations: 7.938 kB / 434.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1182, allocations: 4 kB / 434.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1182, allocations: 8.031 kB / 434.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1182, allocations: 0 / 434.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1186, allocations: 365 kB / 434.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.1187, allocations: 112.9 kB / 434.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1188, allocations: 8 kB / 434.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1189, allocations: 4 kB / 434.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1189, allocations: 8.219 kB / 434.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.119, allocations: 8 kB / 434.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1191, allocations: 132.4 kB / 434.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1191, allocations: 0 / 434.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000312/0.1194, allocations: 24 kB / 434.9 MB, free: 12.2 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.0007615/0.1201, allocations: 0.8976 MB / 435.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.1204, allocations: 113.9 kB / 435.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1204, allocations: 1 kB / 435.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.1205, allocations: 19.98 kB / 435.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.1211, allocations: 107.1 kB / 436 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1237, allocations: 2.066 MB / 438.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1241, allocations: 0.7241 MB / 438.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.1242, allocations: 9.562 kB / 438.8 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.1242, allocations: 43.42 kB / 438.8 MB, free: 7.969 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1242, allocations: 4 kB / 438.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.1586, allocations: 3.421 MB / 442.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.773, allocations: 20.8 kB / 442.3 MB, free: 4.672 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.333748859819025]