Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001755/0.001755, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.00185, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3158, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003179/0.319, allocations: 1.699 MB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.3195, allocations: 167.3 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3197, allocations: 4 kB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.082e-05/0.3197, allocations: 7.875 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.3199, allocations: 11.92 kB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.3202, allocations: 47.83 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3204, allocations: 47.91 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3205, allocations: 35.98 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.3206, allocations: 15.88 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3207, allocations: 35.83 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3207, allocations: 4 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.3207, allocations: 4 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.3208, allocations: 11.94 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.3208, allocations: 39.73 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.321, allocations: 66.67 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.321, allocations: 7.938 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.321, allocations: 0 / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.321, allocations: 0 / 411 MB, free: 15.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006293/0.3217, allocations: 395 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3217, allocations: 8.031 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.29e-05/0.3218, allocations: 38.75 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.3218, allocations: 8.891 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3221, allocations: 200.1 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3222, allocations: 8.375 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3222, allocations: 8.375 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.3226, allocations: 158.4 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3226, allocations: 7.922 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3226, allocations: 4 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3227, allocations: 4 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3228, allocations: 35.92 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.3233, allocations: 373.8 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.3235, allocations: 119.8 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3237, allocations: 54.62 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3237, allocations: 0 / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3237, allocations: 50.48 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.3237, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003778/0.3241, allocations: 117.5 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.3242, allocations: 107.1 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3244, allocations: 141.1 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3244, allocations: 33.95 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.3245, allocations: 88.23 kB / 412.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.3245, allocations: 15.92 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.3246, allocations: 29.67 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3248, allocations: 322.8 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.3248, allocations: 8 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-05/0.3249, allocations: 75.66 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3251, allocations: 95.58 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3251, allocations: 3.938 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.3253, allocations: 105.5 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3253, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3253, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3254, allocations: 4 kB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.3254, allocations: 23.98 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3255, allocations: 3.984 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.3255, allocations: 7.953 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3255, allocations: 8 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001228/0.3257, allocations: 133.9 kB / 413.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.3258, allocations: 73.64 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.3258, allocations: 12.72 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3259, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3259, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3259, allocations: 4 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3262, allocations: 193.5 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3262, allocations: 4 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.3262, allocations: 19.94 kB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3263, allocations: 0 / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3263, allocations: 8 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3263, allocations: 3.984 kB / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3263, allocations: 0 / 414 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/0.3267, allocations: 320.4 kB / 414.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3268, allocations: 101 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3268, allocations: 0 / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3269, allocations: 7.984 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.327, allocations: 4 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.327, allocations: 4 kB / 414.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.385e-05/0.3271, allocations: 107.2 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3271, allocations: 0 / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3274, allocations: 8 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0007025/0.3281, allocations: 0.8421 MB / 415.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3283, allocations: 67.84 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3283, allocations: 0 / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.3284, allocations: 11.98 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.3288, allocations: 55.19 kB / 415.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.3307, allocations: 1.591 MB / 417.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.3311, allocations: 0.7004 MB / 417.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.3311, allocations: 4.672 kB / 417.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.3312, allocations: 23.42 kB / 417.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3312, allocations: 3.938 kB / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.3556, allocations: 1.874 MB / 419.7 MB, free: 6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.026, allocations: 7.609 kB / 419.7 MB, free: 5.996 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_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_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches