Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001748/0.001748, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002127/0.002127, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.43/1.43, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.88 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003109/0.114, allocations: 1.879 MB / 428.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1152, allocations: 0.7052 MB / 429.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1153, allocations: 4 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.1155, allocations: 23.73 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1156, allocations: 27.73 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.116, allocations: 114.4 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1162, allocations: 131.6 kB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1163, allocations: 53.69 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1165, allocations: 63.72 kB / 429.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.1166, allocations: 51.7 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1166, allocations: 12 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.1166, allocations: 16 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.1167, allocations: 35.84 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.1168, allocations: 59.61 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.117, allocations: 151.2 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.117, allocations: 0 / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.117, allocations: 0 / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.117, allocations: 4 kB / 430 MB, free: 1.664 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.0006406/0.1177, allocations: 454.8 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1177, allocations: 12.03 kB / 430.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.1178, allocations: 42.73 kB / 430.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.1179, allocations: 28.83 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1183, allocations: 252.1 kB / 430.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1183, allocations: 11.94 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1183, allocations: 12 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.1189, allocations: 286.9 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1189, allocations: 0 / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1189, allocations: 0 / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1189, allocations: 8 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.1191, allocations: 79.86 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.1196, allocations: 435.6 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.1201, allocations: 286.2 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1203, allocations: 112.2 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1203, allocations: 0 / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1204, allocations: 38.56 kB / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.011e-06/0.1204, allocations: 0 / 432 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005431/0.1209, allocations: 229.2 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.121, allocations: 191.9 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1212, allocations: 182.2 kB / 432.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1212, allocations: 29.7 kB / 432.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.1213, allocations: 104.9 kB / 432.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1213, allocations: 19.94 kB / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.1214, allocations: 41.66 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1215, allocations: 322.8 kB / 433.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.1216, allocations: 23.98 kB / 433.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1217, allocations: 139.4 kB / 433.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.122, allocations: 170.4 kB / 433.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.122, allocations: 0 / 433.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000278/0.1222, allocations: 173.2 kB / 433.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1223, allocations: 8 kB / 433.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1223, allocations: 4 kB / 433.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1223, allocations: 4.531 kB / 433.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1224, allocations: 43.91 kB / 433.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1224, allocations: 11.94 kB / 433.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.1225, allocations: 23.83 kB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1225, allocations: 8 kB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001273/0.1227, allocations: 137.8 kB / 433.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.1229, allocations: 141.4 kB / 434 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.123, allocations: 29.42 kB / 434 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.123, allocations: 4 kB / 434 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.123, allocations: 0 / 434 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.123, allocations: 3.938 kB / 434 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1233, allocations: 221.5 kB / 434.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1233, allocations: 4 kB / 434.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1234, allocations: 35.98 kB / 434.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1234, allocations: 0 / 434.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1235, allocations: 7.984 kB / 434.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1235, allocations: 0 / 434.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1235, allocations: 7.938 kB / 434.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.1239, allocations: 365.1 kB / 434.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.124, allocations: 112.9 kB / 434.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.124, allocations: 11.94 kB / 434.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1241, allocations: 11.98 kB / 434.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.1242, allocations: 8.172 kB / 434.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1242, allocations: 11.98 kB / 434.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1243, allocations: 132.4 kB / 434.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1243, allocations: 3.938 kB / 434.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.1246, allocations: 27.95 kB / 434.9 MB, free: 12.11 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: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008722/0.1255, allocations: 0.9663 MB / 435.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.1258, allocations: 108.3 kB / 436 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1258, allocations: 1.125 kB / 436 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.1258, allocations: 15.98 kB / 436 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.1264, allocations: 108.2 kB / 436.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1287, allocations: 2.074 MB / 438.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.129, allocations: 0.7319 MB / 438.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.1291, allocations: 13.55 kB / 439 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.1292, allocations: 43.42 kB / 439 MB, free: 7.805 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1292, allocations: 3.938 kB / 439 MB, free: 7.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1546, allocations: 3.534 MB / 442.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.803, allocations: 15.92 kB / 442.6 MB, free: 4.402 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.364961824845523]