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.001246/0.001246, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001418/0.001418, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001459/0.001459, allocations: 55.94 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 53.32 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00279/0.1142, allocations: 1.626 MB / 427.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1153, allocations: 0.5844 MB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.1153, allocations: 3.938 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.391e-05/0.1154, allocations: 11.88 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1155, allocations: 15.84 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1158, allocations: 67.75 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1159, allocations: 51.8 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.116, allocations: 32.14 kB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1162, allocations: 31.8 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.1162, allocations: 27.86 kB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1162, allocations: 4 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.805e-05/0.1163, allocations: 8 kB / 428.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.1163, allocations: 19.91 kB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1164, allocations: 35.73 kB / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1165, allocations: 67.61 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1165, allocations: 4 kB / 428.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1165, allocations: 0 / 428.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1165, allocations: 0 / 428.9 MB, free: 2.18 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.0005257/0.1171, allocations: 395 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1171, allocations: 12.03 kB / 429.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1171, allocations: 34.69 kB / 429.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.1173, allocations: 24.83 kB / 429.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1176, allocations: 212.2 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1176, allocations: 8.375 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.1176, allocations: 4.359 kB / 429.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1179, allocations: 146.8 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1179, allocations: 4 kB / 429.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1179, allocations: 0 / 429.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1179, allocations: 7.938 kB / 429.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.15e-05/0.118, allocations: 27.92 kB / 429.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.1184, allocations: 287.4 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1185, allocations: 94.42 kB / 430.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.1186, allocations: 43.42 kB / 430.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1186, allocations: 4 kB / 430.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.1187, allocations: 46.55 kB / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1187, allocations: 0 / 430.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003041/0.119, allocations: 97.5 kB / 430.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.119, allocations: 141 kB / 430.5 MB, free: 360 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1192, allocations: 145.3 kB / 430.6 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1192, allocations: 29.7 kB / 430.6 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.1193, allocations: 96.12 kB / 430.7 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.1193, allocations: 7.891 kB / 430.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1193, allocations: 25.7 kB / 430.8 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1195, allocations: 322.7 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.1195, allocations: 15.98 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.1196, allocations: 45.14 kB / 431.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1197, allocations: 69.08 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1197, allocations: 0 / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001617/0.1199, allocations: 85.5 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1199, allocations: 4.188 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1199, allocations: 4 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1199, allocations: 4 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.12, allocations: 11.94 kB / 431.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.12, allocations: 7.984 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.1201, allocations: 11.94 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1201, allocations: 0 / 431.3 MB, free: 15.41 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 8.935e-05/0.1201, allocations: 121.8 kB / 431.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1203, allocations: 73.53 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.1203, allocations: 15.86 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1203, allocations: 4 kB / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1203, allocations: 0 / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1203, allocations: 0 / 431.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1205, allocations: 181.6 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1205, allocations: 3.938 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.1206, allocations: 11.94 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1206, allocations: 7.984 kB / 431.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1206, allocations: 4 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1206, allocations: 4.094 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1206, allocations: 4 kB / 431.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1208, allocations: 194 kB / 431.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.1209, allocations: 93.05 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1209, allocations: 8.188 kB / 432 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.121, allocations: 8 kB / 432 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.121, allocations: 11.92 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.121, allocations: 0 / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.823e-05/0.1211, allocations: 115.2 kB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1211, allocations: 0 / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1213, allocations: 8 kB / 432.2 MB, free: 14.44 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.0005019/0.1218, allocations: 0.7343 MB / 432.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.122, allocations: 48.22 kB / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.122, allocations: 0 / 433 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.122, allocations: 4 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.0004181/0.1225, allocations: 52.19 kB / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.124, allocations: 1.504 MB / 434.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1243, allocations: 0.6963 MB / 435.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.1243, allocations: 8.656 kB / 435.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1244, allocations: 23.42 kB / 435.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1244, allocations: 4 kB / 435.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.1464, allocations: 2.065 MB / 437.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.8, allocations: 13.75 kB / 437.3 MB, free: 9.23 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_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.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_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.600534671000787]