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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.307e-05, allocations: 2.281 kB / 318.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002382/0.002406, allocations: 1.594 MB / 320 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007882/0.003194, allocations: 0.4946 MB / 320.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003304, allocations: 8 kB / 320.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.003355, allocations: 11.81 kB / 320.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.003508, allocations: 7.875 kB / 320.6 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.003796, allocations: 59.69 kB / 320.6 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003918, allocations: 59.78 kB / 320.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004033, allocations: 15.97 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004136, allocations: 35.91 kB / 320.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.004194, allocations: 19.91 kB / 320.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.004218, allocations: 4 kB / 320.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.00423, allocations: 4 kB / 320.8 MB, free: 4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.004284, allocations: 19.92 kB / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.004309, allocations: 15.94 kB / 320.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004448, allocations: 71.7 kB / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.004452, allocations: 0 / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.004453, allocations: 0 / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.004459, allocations: 0 / 320.9 MB, free: 3.895 MB / 282.7 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.0004344/0.004894, allocations: 309.9 kB / 321.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.004937, allocations: 16.91 kB / 321.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.004972, allocations: 38.75 kB / 321.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.004999, allocations: 8.891 kB / 321.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.005297, allocations: 153.6 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005312, allocations: 4.312 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.005325, allocations: 4.375 kB / 321.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.005604, allocations: 135.3 kB / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.005611, allocations: 192 / 321.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.00562, allocations: 8.062 kB / 321.5 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005626, allocations: 8 kB / 321.5 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.005681, allocations: 23.92 kB / 321.6 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.005972, allocations: 258.5 kB / 321.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006084, allocations: 94.42 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.006134, allocations: 47.42 kB / 322 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.006157, allocations: 4 kB / 322 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.006181, allocations: 42.5 kB / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.006183, allocations: 0 / 322 MB, free: 2.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002231/0.006406, allocations: 101.5 kB / 322.1 MB, free: 2.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.006483, allocations: 136.5 kB / 322.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.006606, allocations: 149 kB / 322.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.006615, allocations: 29.64 kB / 322.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.006662, allocations: 96.59 kB / 322.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.006675, allocations: 7.984 kB / 322.5 MB, free: 2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.006704, allocations: 13.72 kB / 322.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.006787, allocations: 314.8 kB / 322.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.006812, allocations: 7.984 kB / 322.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.006829, allocations: 8 kB / 322.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.006872, allocations: 20.84 kB / 322.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006874, allocations: 0 / 322.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.005e-05/0.006944, allocations: 61.58 kB / 322.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.006958, allocations: 8 kB / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006963, allocations: 0 / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.006977, allocations: 0 / 322.9 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.007052, allocations: 7.984 kB / 322.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007057, allocations: 0 / 322.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.007074, allocations: 0 / 322.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.007081, allocations: 0 / 322.9 MB, free: 1.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.938e-05/0.00715, allocations: 121.8 kB / 323.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.00722, allocations: 73.58 kB / 323.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.007249, allocations: 11.97 kB / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.007252, allocations: 0 / 323.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.007257, allocations: 4 kB / 323.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.00726, allocations: 0 / 323.1 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.007404, allocations: 152.6 kB / 323.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.007406, allocations: 4 kB / 323.3 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.007451, allocations: 11.98 kB / 323.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.007456, allocations: 11.92 kB / 323.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.007465, allocations: 0 / 323.3 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.007467, allocations: 4 kB / 323.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.00747, allocations: 8.062 kB / 323.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.007596, allocations: 190 kB / 323.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.007632, allocations: 19.94 kB / 323.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.007644, allocations: 0 / 323.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.007684, allocations: 11.98 kB / 323.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.007709, allocations: 0 / 323.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007714, allocations: 7.938 kB / 323.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.007769, allocations: 111.2 kB / 323.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007769, allocations: 0 / 323.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.007919, allocations: 8 kB / 323.7 MB, free: 0.7188 MB / 282.7 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.0003304/0.008249, allocations: 0.7266 MB / 324.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.008359, allocations: 35.91 kB / 324.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.008361, allocations: 0 / 324.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.008379, allocations: 11.94 kB / 324.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.008778, allocations: 39.34 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009586/0.009736, allocations: 1.388 MB / 325.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.0098, allocations: 79.33 kB / 326 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.009838, allocations: 4 kB / 326 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.009885, allocations: 28.52 kB / 326 MB, free: 14.26 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.009885, allocations: 0 / 326 MB, free: 14.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.02836, allocations: 2.708 MB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/6.805, allocations: 17.44 kB / 328.7 MB, free: 11.68 MB / 298.7 MB " [Timeout remaining time 653] (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 1.79319e-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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.737916186451912]