Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.84 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3683, allocations: 50.52 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003337/0.3717, allocations: 1.603 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3727, allocations: 0.522 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.3729, allocations: 3.938 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.6e-05/0.3729, allocations: 3.938 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3731, allocations: 15.92 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3734, allocations: 55.81 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3735, allocations: 47.84 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3737, allocations: 8 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3738, allocations: 31.86 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.3738, allocations: 19.91 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3739, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.3739, allocations: 12 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.374, allocations: 15.92 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.374, allocations: 23.81 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.3742, allocations: 66.62 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3742, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3742, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3742, allocations: 0 / 411.2 MB, free: 15.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004963/0.3747, allocations: 383 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3748, allocations: 8.031 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.3748, allocations: 38.75 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.375, allocations: 20.88 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.3752, allocations: 194.4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3752, allocations: 8.312 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3752, allocations: 4.375 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.3755, allocations: 125.1 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3755, allocations: 0 / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3756, allocations: 4 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3756, allocations: 0 / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.3757, allocations: 19.98 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.376, allocations: 269.7 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.3762, allocations: 142.3 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.3763, allocations: 41.64 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3764, allocations: 0 / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3764, allocations: 38.56 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3764, allocations: 0 / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002601/0.3767, allocations: 81.56 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3767, allocations: 77.11 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3769, allocations: 138.1 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3769, allocations: 29.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.377, allocations: 88.27 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.377, allocations: 7.953 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.377, allocations: 17.7 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3772, allocations: 322.8 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.3772, allocations: 7.984 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.3773, allocations: 31.44 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.3774, allocations: 51.36 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3774, allocations: 0 / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.3775, allocations: 77.59 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3775, allocations: 8.031 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3776, allocations: 0 / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3776, allocations: 4 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.3776, allocations: 7.984 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3777, allocations: 4 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.3777, allocations: 0 / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3777, allocations: 4 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001004/0.3778, allocations: 125.7 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.3779, allocations: 53.59 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3779, allocations: 16.23 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.378, allocations: 0 / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.378, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.378, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3781, allocations: 169.6 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3782, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.3782, allocations: 15.92 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3782, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3782, allocations: 4 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3782, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3783, allocations: 7.938 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3784, allocations: 176.2 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.3785, allocations: 89.42 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3785, allocations: 4 kB / 414 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.3786, allocations: 4 kB / 414 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.3787, allocations: 3.984 kB / 414 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3787, allocations: 8 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.511e-05/0.3787, allocations: 106 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3787, allocations: 0 / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.379, allocations: 4 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0004562/0.3794, allocations: 0.717 MB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3796, allocations: 27.98 kB / 414.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3796, allocations: 0 / 414.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.3796, allocations: 15.92 kB / 414.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.38, allocations: 23.97 kB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3813, allocations: 1.362 MB / 416.3 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3816, allocations: 0.6924 MB / 417 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.427e-05/0.3816, allocations: 7.984 kB / 417 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.3817, allocations: 15.44 kB / 417 MB, free: 8.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3817, allocations: 0 / 417 MB, free: 8.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.3993, allocations: 1.586 MB / 418.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.645, allocations: 18.7 kB / 418.6 MB, free: 7.156 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches