Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001696/0.001696, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002021/0.002021, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.489/1.489, allocations: 230.4 MB / 254 MB, free: 15.02 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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.83 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1079, allocations: 53.37 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003419/0.1113, allocations: 1.634 MB / 428 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1125, allocations: 0.5843 MB / 428.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1126, allocations: 4 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.1127, allocations: 7.875 kB / 428.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1129, allocations: 23.8 kB / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1133, allocations: 67.75 kB / 428.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1134, allocations: 59.78 kB / 428.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1135, allocations: 12.22 kB / 428.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1136, allocations: 39.8 kB / 428.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.1137, allocations: 27.84 kB / 428.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1137, allocations: 4 kB / 428.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.1138, allocations: 4 kB / 428.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.1138, allocations: 15.92 kB / 428.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1139, allocations: 35.73 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1141, allocations: 71.61 kB / 429 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1141, allocations: 4 kB / 429 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1141, allocations: 0 / 429 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1141, allocations: 0 / 429 MB, free: 2.008 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006032/0.1147, allocations: 398.9 kB / 429.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1147, allocations: 8.031 kB / 429.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1148, allocations: 34.75 kB / 429.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1149, allocations: 24.83 kB / 429.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1152, allocations: 216.2 kB / 429.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1152, allocations: 384 / 429.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1152, allocations: 4.375 kB / 429.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1156, allocations: 142.8 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1156, allocations: 4 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1156, allocations: 0 / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1156, allocations: 3.938 kB / 429.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-05/0.1157, allocations: 27.92 kB / 429.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1161, allocations: 291.4 kB / 430.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1162, allocations: 94.36 kB / 430.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.1163, allocations: 47.48 kB / 430.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1163, allocations: 4 kB / 430.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1164, allocations: 34.55 kB / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1164, allocations: 0 / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003163/0.1167, allocations: 106 kB / 430.4 MB, free: 364 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.1168, allocations: 136.5 kB / 430.5 MB, free: 196 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1169, allocations: 154.2 kB / 430.6 MB, free: 32 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.117, allocations: 25.7 kB / 430.7 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.117, allocations: 96.23 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.117, allocations: 7.891 kB / 430.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1171, allocations: 21.7 kB / 430.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1172, allocations: 326.8 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.1173, allocations: 7.984 kB / 431.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1173, allocations: 53.14 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1175, allocations: 61.08 kB / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1175, allocations: 128 / 431.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001749/0.1177, allocations: 93.56 kB / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1177, allocations: 4 kB / 431.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1177, allocations: 4 kB / 431.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1177, allocations: 0 / 431.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.1178, allocations: 19.94 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1178, allocations: 3.984 kB / 431.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.1178, allocations: 7.938 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1179, allocations: 4 kB / 431.4 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 9.943e-05/0.118, allocations: 121.9 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1181, allocations: 73.53 kB / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.1181, allocations: 15.86 kB / 431.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1181, allocations: 0 / 431.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1181, allocations: 4 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1183, allocations: 181.6 kB / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1183, allocations: 3.938 kB / 431.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.1184, allocations: 15.94 kB / 431.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1184, allocations: 8.078 kB / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1184, allocations: 4 kB / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1184, allocations: 0 / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1184, allocations: 0 / 431.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1187, allocations: 205.9 kB / 432 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1187, allocations: 93.05 kB / 432.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1188, allocations: 4 kB / 432.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1188, allocations: 4 kB / 432.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1189, allocations: 3.984 kB / 432.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1189, allocations: 4 kB / 432.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.119, allocations: 119.9 kB / 432.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.119, allocations: 0 / 432.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1192, allocations: 8 kB / 432.2 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0005439/0.1197, allocations: 0.7304 MB / 433 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1199, allocations: 47.91 kB / 433 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1199, allocations: 0 / 433 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.12, allocations: 7.938 kB / 433 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1204, allocations: 58.16 kB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.122, allocations: 1.501 MB / 434.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1224, allocations: 0.6963 MB / 435.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.1224, allocations: 8.656 kB / 435.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1225, allocations: 23.42 kB / 435.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1225, allocations: 0 / 435.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.1489, allocations: 2.065 MB / 437.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.853, allocations: 12.03 kB / 437.4 MB, free: 9.055 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.638486240059137]