Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 107.2 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 191.5 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 47.19 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1306, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004442/0.1351, allocations: 1.602 MB / 351.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1364, allocations: 0.5142 MB / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1367, allocations: 7.938 kB / 352.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.1368, allocations: 3.938 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.137, allocations: 15.86 kB / 352.3 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.1376, allocations: 57.64 kB / 352.4 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1378, allocations: 59.78 kB / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.138, allocations: 19.98 kB / 352.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1382, allocations: 27.86 kB / 352.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1383, allocations: 27.8 kB / 352.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.1384, allocations: 4 kB / 352.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.1384, allocations: 4 kB / 352.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.925e-05/0.1385, allocations: 15.92 kB / 352.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.1386, allocations: 35.73 kB / 352.6 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.1388, allocations: 71.72 kB / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1388, allocations: 0 / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1388, allocations: 0 / 352.6 MB, free: 1.855 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.1389, allocations: 4 kB / 352.6 MB, free: 1.852 MB / 286.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.0009256/0.1398, allocations: 383.3 kB / 353 MB, free: 1.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.466e-05/0.1399, allocations: 8.031 kB / 353 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.984e-05/0.14, allocations: 46.67 kB / 353.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1401, allocations: 16.73 kB / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.1404, allocations: 200 kB / 353.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1405, allocations: 8.312 kB / 353.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1405, allocations: 4.375 kB / 353.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.1409, allocations: 138.9 kB / 353.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.141, allocations: 0 / 353.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.141, allocations: 4 kB / 353.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.141, allocations: 0 / 353.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1411, allocations: 31.92 kB / 353.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.1416, allocations: 291.4 kB / 353.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1418, allocations: 90.42 kB / 353.8 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1419, allocations: 47.48 kB / 353.9 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1419, allocations: 7.984 kB / 353.9 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.142, allocations: 42.5 kB / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.142, allocations: 0 / 353.9 MB, free: 332 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003546/0.1423, allocations: 97.5 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.1425, allocations: 137 kB / 354.1 MB, free: 60 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1426, allocations: 155.8 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1427, allocations: 29.7 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.1427, allocations: 92.12 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1428, allocations: 7.906 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1428, allocations: 17.72 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.143, allocations: 322.8 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.143, allocations: 12 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.1431, allocations: 53.14 kB / 354.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1432, allocations: 65.02 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1433, allocations: 0 / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001766/0.1434, allocations: 89.45 kB / 355 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1435, allocations: 7.938 kB / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1435, allocations: 0 / 355 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1435, allocations: 4.188 kB / 355 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1436, allocations: 19.98 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1436, allocations: 0 / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.1437, allocations: 4 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1437, allocations: 4.125 kB / 355 MB, free: 15.12 MB / 302.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 0.0001113/0.1438, allocations: 133.6 kB / 355.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1439, allocations: 69.53 kB / 355.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.144, allocations: 11.88 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.144, allocations: 8.094 kB / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.144, allocations: 0 / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.144, allocations: 0 / 355.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1443, allocations: 185.5 kB / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1443, allocations: 4 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.505e-05/0.1444, allocations: 11.98 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1444, allocations: 4 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1444, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1444, allocations: 0 / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1444, allocations: 4 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1447, allocations: 201.9 kB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.1448, allocations: 92.98 kB / 355.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1448, allocations: 8 kB / 355.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.1449, allocations: 0 / 355.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1449, allocations: 8 kB / 355.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.1449, allocations: 0 / 355.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.145, allocations: 115.2 kB / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1451, allocations: 0 / 355.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1453, allocations: 8 kB / 355.9 MB, free: 14.16 MB / 302.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.0006142/0.1459, allocations: 0.7382 MB / 356.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1461, allocations: 43.92 kB / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1462, allocations: 0 / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.1462, allocations: 20.3 kB / 356.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.1468, allocations: 34.84 kB / 356.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.1488, allocations: 1.49 MB / 358.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1493, allocations: 0.7049 MB / 358.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1493, allocations: 8.609 kB / 358.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.1494, allocations: 27.36 kB / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1494, allocations: 0 / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.1759, allocations: 1.983 MB / 360.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.239, allocations: 7.938 kB / 360.9 MB, free: 9.016 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches