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.001927/0.001927, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002696/0.002696, allocations: 183.9 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.544/1.544, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001892/0.001892, allocations: 51.92 kB / 370.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2742, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003108/0.2773, allocations: 1.641 MB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2783, allocations: 0.5103 MB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.2784, allocations: 15.88 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.759e-05/0.2784, allocations: 7.922 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.2786, allocations: 11.86 kB / 424.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.2788, allocations: 59.83 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.279, allocations: 59.78 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2791, allocations: 15.92 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.2792, allocations: 31.84 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.2792, allocations: 27.86 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2792, allocations: 4 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.2793, allocations: 4 kB / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.2793, allocations: 19.92 kB / 425 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.2793, allocations: 31.75 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2795, allocations: 68.03 kB / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2795, allocations: 0 / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2795, allocations: 0 / 425.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2795, allocations: 3.984 kB / 425.1 MB, free: 12.07 MB / 334.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.0004939/0.28, allocations: 313.8 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.28, allocations: 8.031 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2801, allocations: 34.75 kB / 425.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.2801, allocations: 20.88 kB / 425.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2804, allocations: 154.2 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.2804, allocations: 384 / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2804, allocations: 8.375 kB / 425.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.2807, allocations: 138.9 kB / 425.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2808, allocations: 0 / 425.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2808, allocations: 0 / 425.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2808, allocations: 4 kB / 425.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.2809, allocations: 27.92 kB / 425.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.2812, allocations: 266.4 kB / 426.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.2814, allocations: 86.42 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.2815, allocations: 47.48 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2815, allocations: 11.92 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2816, allocations: 38.44 kB / 426.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.2816, allocations: 0 / 426.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003133/0.2819, allocations: 105.5 kB / 426.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.282, allocations: 136.5 kB / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2821, allocations: 153.9 kB / 426.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2821, allocations: 25.7 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2822, allocations: 88.64 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.2822, allocations: 11.95 kB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.2823, allocations: 21.7 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2824, allocations: 318.8 kB / 427.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.2825, allocations: 15.98 kB / 427.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.2825, allocations: 49.14 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2826, allocations: 65.02 kB / 427.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2826, allocations: 0 / 427.2 MB, free: 9.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.2828, allocations: 93.5 kB / 427.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2828, allocations: 4 kB / 427.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2828, allocations: 4 kB / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2829, allocations: 0 / 427.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.283, allocations: 15.98 kB / 427.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.283, allocations: 0 / 427.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.283, allocations: 4 kB / 427.4 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.283, allocations: 8.188 kB / 427.4 MB, free: 9.531 MB / 334.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.0001104/0.2831, allocations: 125.7 kB / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2832, allocations: 65.55 kB / 427.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.2833, allocations: 15.95 kB / 427.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2833, allocations: 4 kB / 427.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2833, allocations: 0 / 427.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2833, allocations: 0 / 427.6 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2835, allocations: 156.8 kB / 427.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2835, allocations: 8.094 kB / 427.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.2836, allocations: 15.98 kB / 427.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2836, allocations: 0 / 427.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2836, allocations: 0 / 427.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2836, allocations: 4 kB / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2836, allocations: 0 / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.2838, allocations: 201.9 kB / 428 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.2839, allocations: 27.8 kB / 428 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2839, allocations: 4 kB / 428 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.284, allocations: 4 kB / 428 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.284, allocations: 0 / 428 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.284, allocations: 7.984 kB / 428 MB, free: 8.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.2842, allocations: 122 kB / 428.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2842, allocations: 0 / 428.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.2844, allocations: 12 kB / 428.1 MB, free: 8.688 MB / 334.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.0006744/0.2851, allocations: 0.7265 MB / 428.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.2853, allocations: 47.91 kB / 428.9 MB, free: 7.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.2853, allocations: 4 kB / 428.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.2853, allocations: 7.938 kB / 428.9 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.2858, allocations: 35.31 kB / 429 MB, free: 7.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2874, allocations: 1.491 MB / 430.4 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.2878, allocations: 0.7117 MB / 431.2 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.2879, allocations: 4.672 kB / 431.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2879, allocations: 23.42 kB / 431.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2879, allocations: 0 / 431.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.317, allocations: 2.157 MB / 433.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.26, allocations: 4.062 kB / 433.3 MB, free: 3.434 MB / 334.1 MB " [Timeout remaining time 649] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.015707660000771]