Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2735, allocations: 53.41 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002944/0.2765, allocations: 1.642 MB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2777, allocations: 0.5959 MB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2778, allocations: 7.938 kB / 433.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.785e-05/0.2779, allocations: 7.922 kB / 433.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.278, allocations: 11.88 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.2784, allocations: 67.73 kB / 433.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.2785, allocations: 59.78 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2787, allocations: 16.23 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.2788, allocations: 27.86 kB / 433.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.2789, allocations: 35.77 kB / 433.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2789, allocations: 4 kB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-05/0.2789, allocations: 8 kB / 433.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.279, allocations: 19.94 kB / 433.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.279, allocations: 31.73 kB / 433.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.2792, allocations: 72.03 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2792, allocations: 0 / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2792, allocations: 0 / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2792, allocations: 3.938 kB / 433.8 MB, free: 4.062 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.000523/0.2797, allocations: 317.9 kB / 434.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2798, allocations: 12.03 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.2798, allocations: 30.75 kB / 434.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.28, allocations: 28.83 kB / 434.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.2803, allocations: 161.3 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2803, allocations: 4.375 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.2803, allocations: 384 / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2806, allocations: 146.8 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2806, allocations: 3.984 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2806, allocations: 4 kB / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2807, allocations: 0 / 434.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.2807, allocations: 27.92 kB / 434.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.2811, allocations: 262.5 kB / 434.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2812, allocations: 98.42 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.2813, allocations: 39.42 kB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2813, allocations: 4 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2814, allocations: 34.56 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.2814, allocations: 4 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002988/0.2817, allocations: 97.5 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.2818, allocations: 140.4 kB / 435.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2819, allocations: 150.2 kB / 435.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2819, allocations: 26.2 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.282, allocations: 100.1 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.282, allocations: 3.953 kB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2821, allocations: 25.7 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2822, allocations: 318.8 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.2823, allocations: 15.98 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.2823, allocations: 49.14 kB / 435.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2824, allocations: 69.02 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2824, allocations: 4 kB / 435.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001658/0.2826, allocations: 81.5 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2826, allocations: 11.94 kB / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2826, allocations: 0 / 436 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2826, allocations: 7.938 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.2827, allocations: 11.98 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2827, allocations: 4 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.2828, allocations: 16.12 kB / 436.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2828, allocations: 0 / 436.1 MB, free: 1.492 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.0001075/0.2829, allocations: 125.8 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.283, allocations: 65.55 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.2831, allocations: 19.91 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2831, allocations: 4 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2831, allocations: 0 / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2831, allocations: 4.078 kB / 436.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.2833, allocations: 156.7 kB / 436.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2833, allocations: 3.938 kB / 436.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.2834, allocations: 11.98 kB / 436.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2834, allocations: 4 kB / 436.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2834, allocations: 4 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2834, allocations: 0 / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2834, allocations: 4 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.2836, allocations: 205.9 kB / 436.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.2837, allocations: 11.94 kB / 436.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.2837, allocations: 8.188 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.2838, allocations: 8 kB / 436.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2838, allocations: 3.984 kB / 436.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.2838, allocations: 4 kB / 436.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.2839, allocations: 119.9 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2839, allocations: 0 / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.2841, allocations: 12 kB / 436.8 MB, free: 0.6445 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.0005618/0.2847, allocations: 0.7305 MB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.2849, allocations: 43.91 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2849, allocations: 0 / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.2849, allocations: 8 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2853, allocations: 57.53 kB / 437.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.2869, allocations: 1.498 MB / 439.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2872, allocations: 0.7009 MB / 439.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.082e-05/0.2873, allocations: 4.656 kB / 439.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2873, allocations: 19.44 kB / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2873, allocations: 0 / 439.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3155, allocations: 2.193 MB / 442.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.02, allocations: 11.92 kB / 442.1 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 13.571724757999618]