Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001382/0.001382, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001307/0.001307, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.453/1.453, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 47.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 53.32 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002882/0.1061, allocations: 1.629 MB / 428 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1071, allocations: 0.5882 MB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1072, allocations: 7.938 kB / 428.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.1073, allocations: 7.875 kB / 428.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.1074, allocations: 19.84 kB / 428.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1077, allocations: 63.75 kB / 428.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1078, allocations: 63.72 kB / 428.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1079, allocations: 16.22 kB / 428.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.108, allocations: 39.8 kB / 428.8 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.1081, allocations: 31.84 kB / 428.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1081, allocations: 0 / 428.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.1082, allocations: 8 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.1082, allocations: 15.92 kB / 428.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.1082, allocations: 35.73 kB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.1084, allocations: 71.61 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1084, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1084, allocations: 0 / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1084, allocations: 0 / 428.9 MB, free: 2.191 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.000527/0.1089, allocations: 399 kB / 429.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1089, allocations: 8.031 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.109, allocations: 34.73 kB / 429.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1091, allocations: 28.77 kB / 429.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1094, allocations: 220.1 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1094, allocations: 4.375 kB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1094, allocations: 8.375 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1097, allocations: 134.9 kB / 429.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1097, allocations: 3.938 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1098, allocations: 7.984 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1098, allocations: 3.938 kB / 429.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.1098, allocations: 31.92 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.1102, allocations: 287.4 kB / 430.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1104, allocations: 94.42 kB / 430.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.1104, allocations: 39.48 kB / 430.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1105, allocations: 7.938 kB / 430.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1105, allocations: 38.56 kB / 430.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.1105, allocations: 0 / 430.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002867/0.1108, allocations: 101.5 kB / 430.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/0.1109, allocations: 141 kB / 430.5 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1111, allocations: 149.3 kB / 430.6 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1111, allocations: 29.7 kB / 430.6 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1111, allocations: 84.14 kB / 430.7 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1112, allocations: 11.95 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1112, allocations: 21.7 kB / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1114, allocations: 322.8 kB / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1114, allocations: 7.984 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1115, allocations: 57.08 kB / 431.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1116, allocations: 65.08 kB / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1116, allocations: 0 / 431.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000181/0.1118, allocations: 85.5 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1118, allocations: 4 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.1118, allocations: 4.188 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.1118, allocations: 4 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1119, allocations: 15.98 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1119, allocations: 3.938 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.112, allocations: 8.062 kB / 431.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.112, allocations: 12 kB / 431.3 MB, free: 15.42 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.363e-05/0.1121, allocations: 121.8 kB / 431.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1122, allocations: 77.47 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.1122, allocations: 15.97 kB / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1122, allocations: 0 / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1123, allocations: 0 / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1123, allocations: 4 kB / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1125, allocations: 177.6 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1125, allocations: 3.938 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.1125, allocations: 15.98 kB / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1125, allocations: 0 / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1125, allocations: 0 / 431.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1125, allocations: 7.938 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1125, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1128, allocations: 202 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.1128, allocations: 97.05 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1129, allocations: 0 / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1129, allocations: 11.98 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.113, allocations: 4 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.113, allocations: 4 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.446e-05/0.1131, allocations: 111.2 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1131, allocations: 0 / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1133, allocations: 12 kB / 432.2 MB, free: 14.45 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.0006011/0.1139, allocations: 0.7343 MB / 432.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1141, allocations: 47.84 kB / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1141, allocations: 384 / 433 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.1141, allocations: 15.98 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1145, allocations: 36.14 kB / 433 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1161, allocations: 1.508 MB / 434.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1165, allocations: 0.7002 MB / 435.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.307e-05/0.1165, allocations: 4.672 kB / 435.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.1166, allocations: 27.36 kB / 435.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1166, allocations: 0 / 435.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.1417, allocations: 2.064 MB / 437.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.79, allocations: 12.05 kB / 437.3 MB, free: 9.242 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/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_4.1.0_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.29912854009308]