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.001815/0.001815, allocations: 108.4 kB / 17.06 MB, free: 5.82 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.001924/0.001924, allocations: 193.4 kB / 18 MB, free: 4.965 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.465/1.465, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3069, allocations: 49.45 MB / 400.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003722/0.3107, allocations: 1.598 MB / 401.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3119, allocations: 0.5154 MB / 402.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3121, allocations: 0 / 402.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.933e-05/0.3122, allocations: 11.86 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3123, allocations: 11.88 kB / 402.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.3127, allocations: 55.77 kB / 402.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3128, allocations: 55.78 kB / 402.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.313, allocations: 27.97 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.384e-05/0.3131, allocations: 31.8 kB / 402.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.3131, allocations: 23.86 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3132, allocations: 4 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.3132, allocations: 4 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3133, allocations: 15.92 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.3133, allocations: 35.73 kB / 402.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3135, allocations: 62.69 kB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3135, allocations: 0 / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3135, allocations: 4 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3135, allocations: 0 / 402.7 MB, free: 6.352 MB / 318.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.0005749/0.3141, allocations: 394.9 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3142, allocations: 19.83 kB / 403.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3142, allocations: 30.75 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3143, allocations: 12.88 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3146, allocations: 212.1 kB / 403.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3146, allocations: 8.375 kB / 403.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3146, allocations: 8.359 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.315, allocations: 134.8 kB / 403.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.315, allocations: 0 / 403.5 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.315, allocations: 8 kB / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.315, allocations: 0 / 403.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.655e-05/0.3151, allocations: 31.91 kB / 403.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3156, allocations: 291.4 kB / 403.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3157, allocations: 98.42 kB / 403.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.3158, allocations: 43.44 kB / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3159, allocations: 11.97 kB / 404 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.3159, allocations: 38.56 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3159, allocations: 0 / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003323/0.3162, allocations: 97.97 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.3163, allocations: 136.5 kB / 404.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3165, allocations: 152.1 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3165, allocations: 29.69 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3166, allocations: 92.14 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3166, allocations: 11.89 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3167, allocations: 21.64 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3168, allocations: 326.8 kB / 404.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.3169, allocations: 15.98 kB / 404.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.317, allocations: 45.14 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3171, allocations: 65.08 kB / 405 MB, free: 3.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3171, allocations: 0 / 405 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001624/0.3173, allocations: 85.5 kB / 405.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3173, allocations: 12.19 kB / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3173, allocations: 0 / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3173, allocations: 0 / 405.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.3174, allocations: 15.94 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3174, allocations: 3.984 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3175, allocations: 4 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3175, allocations: 4 kB / 405.1 MB, free: 3.59 MB / 318.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.0001118/0.3176, allocations: 121.8 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3177, allocations: 73.53 kB / 405.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.3178, allocations: 15.86 kB / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3178, allocations: 0 / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3178, allocations: 0 / 405.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3178, allocations: 4 kB / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.318, allocations: 181.6 kB / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.318, allocations: 0 / 405.5 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.3181, allocations: 15.94 kB / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3181, allocations: 0 / 405.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3181, allocations: 7.984 kB / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3182, allocations: 4.094 kB / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3182, allocations: 0 / 405.5 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3184, allocations: 194.1 kB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3185, allocations: 105 kB / 405.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3185, allocations: 8 kB / 405.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3186, allocations: 4 kB / 405.8 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3186, allocations: 3.984 kB / 405.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.3187, allocations: 4 kB / 405.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.3187, allocations: 118.1 kB / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3188, allocations: 0 / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.319, allocations: 8 kB / 406 MB, free: 2.629 MB / 318.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.0005874/0.3196, allocations: 0.7381 MB / 406.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.3198, allocations: 48.22 kB / 406.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3198, allocations: 0 / 406.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.3198, allocations: 15.94 kB / 406.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3202, allocations: 47.89 kB / 406.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3218, allocations: 1.484 MB / 408.3 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3222, allocations: 0.7 MB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.3223, allocations: 4.672 kB / 409 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.3223, allocations: 27.42 kB / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3223, allocations: 0 / 409 MB, free: 15.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.3461, allocations: 2.035 MB / 411.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.225, allocations: 11.69 kB / 411.1 MB, free: 13.45 MB / 334.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