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.001187/0.001187, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 60.84 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1393, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003782/0.1432, allocations: 1.692 MB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.1438, allocations: 171.5 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.144, allocations: 0 / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.578e-05/0.1441, allocations: 7.875 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1443, allocations: 11.92 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1447, allocations: 51.83 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1448, allocations: 43.92 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.145, allocations: 35.91 kB / 359.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.1451, allocations: 27.84 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1451, allocations: 27.86 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1452, allocations: 4 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.594e-05/0.1452, allocations: 4 kB / 359.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1453, allocations: 19.92 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.1453, allocations: 35.75 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1455, allocations: 67.72 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1455, allocations: 4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1455, allocations: 0 / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1455, allocations: 0 / 359.8 MB, free: 11.79 MB / 302.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.0006455/0.1462, allocations: 387.3 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1462, allocations: 12.03 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1463, allocations: 38.69 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1463, allocations: 12.84 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1466, allocations: 195.1 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1466, allocations: 12.38 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1466, allocations: 4.375 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.147, allocations: 166.3 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1471, allocations: 7.922 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1471, allocations: 12 kB / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1471, allocations: 0 / 360.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1472, allocations: 35.92 kB / 360.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.1477, allocations: 369.7 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.148, allocations: 111.8 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1481, allocations: 58.62 kB / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1482, allocations: 0 / 361.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1482, allocations: 46.55 kB / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1482, allocations: 0 / 361.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003468/0.1486, allocations: 121.6 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.1487, allocations: 118.7 kB / 361.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1488, allocations: 134.1 kB / 361.6 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1488, allocations: 29.7 kB / 361.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1489, allocations: 84.14 kB / 361.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1489, allocations: 15.89 kB / 361.7 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.149, allocations: 21.72 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1491, allocations: 322.8 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.1491, allocations: 12 kB / 362.1 MB, free: 9.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.1492, allocations: 79.64 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1494, allocations: 91.59 kB / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1494, allocations: 4 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.1496, allocations: 105.4 kB / 362.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1496, allocations: 8 kB / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1496, allocations: 0 / 362.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1496, allocations: 4 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1497, allocations: 23.92 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1497, allocations: 4 kB / 362.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.1498, allocations: 7.906 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1498, allocations: 4 kB / 362.4 MB, free: 8.844 MB / 302.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.0001012/0.1499, allocations: 143 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1501, allocations: 77.53 kB / 362.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.1501, allocations: 12.72 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1501, allocations: 0 / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1501, allocations: 4 kB / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1501, allocations: 0 / 362.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.1504, allocations: 185.6 kB / 362.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1504, allocations: 4 kB / 362.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1505, allocations: 16 kB / 362.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1505, allocations: 11.94 kB / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1505, allocations: 7.984 kB / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1505, allocations: 0 / 362.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1505, allocations: 4 kB / 362.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.1509, allocations: 304.3 kB / 363.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.151, allocations: 100.9 kB / 363.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.151, allocations: 3.984 kB / 363.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.1511, allocations: 8 kB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.1512, allocations: 3.938 kB / 363.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1512, allocations: 4 kB / 363.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.1513, allocations: 109.9 kB / 363.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1513, allocations: 0 / 363.4 MB, free: 7.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1516, allocations: 15.94 kB / 363.4 MB, free: 7.746 MB / 302.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.0007447/0.1523, allocations: 0.8539 MB / 364.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1526, allocations: 63.84 kB / 364.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1526, allocations: 0 / 364.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.1526, allocations: 11.98 kB / 364.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.1532, allocations: 43.89 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.1549, allocations: 1.572 MB / 365.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1553, allocations: 0.7079 MB / 366.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.1554, allocations: 12.66 kB / 366.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.1554, allocations: 19.44 kB / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1554, allocations: 0 / 366.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.177, allocations: 1.818 MB / 368.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.561, allocations: 19.61 kB / 368.5 MB, free: 2.508 MB / 302.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.0.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