Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001674, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4061, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.004122/0.4103, allocations: 1.561 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.4116, allocations: 0.526 MB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.4118, allocations: 3.938 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.779e-05/0.4119, allocations: 3.938 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.4121, allocations: 7.938 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.4125, allocations: 51.81 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.4126, allocations: 43.8 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.4128, allocations: 16 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.413, allocations: 27.91 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.413, allocations: 19.86 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.4131, allocations: 4 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.4131, allocations: 4 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.4132, allocations: 11.98 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.4133, allocations: 23.81 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.4135, allocations: 50.77 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.4135, allocations: 7.922 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4135, allocations: 7.938 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4135, allocations: 0 / 411.1 MB, free: 15.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005748/0.4141, allocations: 371.2 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4141, allocations: 8.031 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.4142, allocations: 30.75 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.4144, allocations: 24.81 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.4147, allocations: 200.2 kB / 411.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4147, allocations: 8.359 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.4147, allocations: 384 / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.415, allocations: 97.17 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.415, allocations: 0 / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.415, allocations: 0 / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.415, allocations: 0 / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.4151, allocations: 27.92 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.4155, allocations: 257.7 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4156, allocations: 49.14 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.4157, allocations: 33.78 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4157, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.4157, allocations: 30.56 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4157, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002727/0.416, allocations: 69.56 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4161, allocations: 81.36 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4162, allocations: 144.5 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4163, allocations: 25.7 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.4163, allocations: 92.08 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.4164, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.4164, allocations: 17.67 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4165, allocations: 322.8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.4166, allocations: 4 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.4167, allocations: 33.64 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.992e-05/0.4167, allocations: 29.7 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4168, allocations: 0 / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001337/0.4169, allocations: 49.62 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4169, allocations: 8.125 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4169, allocations: 0 / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.417, allocations: 4 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.417, allocations: 7.984 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.417, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.4171, allocations: 4 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4171, allocations: 4 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.764e-05/0.4172, allocations: 121.7 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.4173, allocations: 45.66 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.4173, allocations: 11.77 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4173, allocations: 4 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4173, allocations: 0 / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4174, allocations: 3.984 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.4175, allocations: 169.5 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4176, allocations: 11.92 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.4176, allocations: 4 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4176, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4176, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4176, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4176, allocations: 4.031 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4178, allocations: 164.3 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.4179, allocations: 93.05 kB / 413.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4179, allocations: 0 / 413.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.418, allocations: 4 kB / 413.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.418, allocations: 7.969 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.418, allocations: 4 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.4181, allocations: 109.5 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4181, allocations: 3.938 kB / 413.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.4184, allocations: 4 kB / 413.9 MB, free: 12.02 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 (2): * Single equations (assignments): 2 * 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.0004508/0.4188, allocations: 0.6937 MB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.419, allocations: 23.92 kB / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.419, allocations: 0 / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.419, allocations: 11.98 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.4194, allocations: 19.84 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4208, allocations: 1.316 MB / 415.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4211, allocations: 0.6924 MB / 416.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.4211, allocations: 8.031 kB / 416.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.4212, allocations: 11.44 kB / 416.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4212, allocations: 0 / 416.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.4404, allocations: 1.493 MB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.678, allocations: 5.188 kB / 418.1 MB, free: 7.723 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches