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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001936, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 67.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2956, allocations: 50.53 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003136/0.2988, allocations: 1.639 MB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3001, allocations: 0.5725 MB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.3002, allocations: 7.938 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.3003, allocations: 3.938 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3004, allocations: 15.86 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.3008, allocations: 67.77 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.301, allocations: 59.77 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.3011, allocations: 24.16 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3013, allocations: 23.92 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.3014, allocations: 31.84 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3014, allocations: 8 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.3014, allocations: 4 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.3015, allocations: 15.92 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.3016, allocations: 31.75 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3017, allocations: 78.55 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3018, allocations: 0 / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3018, allocations: 0 / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3018, allocations: 0 / 411.3 MB, free: 14.96 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.0006487/0.3024, allocations: 395 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3025, allocations: 8.031 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.3025, allocations: 42.75 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3027, allocations: 20.83 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.3031, allocations: 220 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.3031, allocations: 384 / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.3032, allocations: 4.375 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.3035, allocations: 142.9 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3036, allocations: 0 / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3036, allocations: 0 / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3036, allocations: 4 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.3037, allocations: 23.92 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.3041, allocations: 299.3 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3043, allocations: 98.48 kB / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.3044, allocations: 43.42 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3044, allocations: 0 / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.3045, allocations: 42.5 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3045, allocations: 0 / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003258/0.3048, allocations: 97.55 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3049, allocations: 140.5 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3051, allocations: 152.2 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3051, allocations: 29.7 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.3052, allocations: 92.12 kB / 413.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3052, allocations: 7.953 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3053, allocations: 17.72 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3054, allocations: 326.8 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-05/0.3055, allocations: 11.98 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.3056, allocations: 49.16 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3057, allocations: 65.02 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3057, allocations: 3.984 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001536/0.3059, allocations: 81.52 kB / 413.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3059, allocations: 7.984 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3059, allocations: 7.984 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3059, allocations: 0 / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.282e-05/0.306, allocations: 20.31 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.306, allocations: 7.938 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.3061, allocations: 7.984 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3061, allocations: 4 kB / 413.7 MB, free: 12.18 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 9.886e-05/0.3062, allocations: 125.7 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3063, allocations: 69.53 kB / 413.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.3064, allocations: 23.8 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3064, allocations: 4 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3064, allocations: 4.094 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3064, allocations: 4 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.3066, allocations: 181.6 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3066, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.3067, allocations: 12 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3067, allocations: 0 / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3067, allocations: 0 / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3067, allocations: 7.984 kB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3068, allocations: 0 / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.307, allocations: 202 kB / 414.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.3071, allocations: 89.05 kB / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3071, allocations: 8 kB / 414.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.3072, allocations: 7.938 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3072, allocations: 0 / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3072, allocations: 11.98 kB / 414.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.118e-05/0.3073, allocations: 118.3 kB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3073, allocations: 0 / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.3076, allocations: 8 kB / 414.6 MB, free: 11.21 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.0005669/0.3081, allocations: 0.7343 MB / 415.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.3083, allocations: 43.91 kB / 415.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3083, allocations: 0 / 415.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.3084, allocations: 12.31 kB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.3088, allocations: 53.94 kB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3105, allocations: 1.502 MB / 416.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3108, allocations: 0.6924 MB / 417.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.183e-05/0.3109, allocations: 8.656 kB / 417.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.311, allocations: 23.38 kB / 417.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.311, allocations: 0 / 417.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.3373, allocations: 2.068 MB / 419.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.784, allocations: 4 kB / 419.7 MB, free: 6.008 MB / 334.1 MB (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 3.6e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) 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) Reference file matches