Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.001056/0.001056, allocations: 91.2 kB / 16.65 MB, free: 6.352 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.001132/0.001132, allocations: 180.2 kB / 17.56 MB, free: 5.949 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.543/1.543, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 301.5 MB, free: 5.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 50.4 MB / 351.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002302/0.145, allocations: 1.269 MB / 353.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.1455, allocations: 135.6 kB / 353.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1456, allocations: 4 kB / 353.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.756e-05/0.1457, allocations: 3.938 kB / 353.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1459, allocations: 3.984 kB / 353.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1462, allocations: 31.92 kB / 353.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1463, allocations: 39.84 kB / 353.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1464, allocations: 15.98 kB / 353.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.1465, allocations: 7.938 kB / 353.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.1465, allocations: 11.94 kB / 353.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1466, allocations: 0 / 353.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1466, allocations: 0 / 353.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.1467, allocations: 15.92 kB / 353.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1467, allocations: 45.52 kB / 353.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1468, allocations: 51.73 kB / 353.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1468, allocations: 0 / 353.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1468, allocations: 0 / 353.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1469, allocations: 0 / 353.6 MB, free: 1.691 MB / 286.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.0004686/0.1473, allocations: 355.6 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1474, allocations: 12.03 kB / 353.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1474, allocations: 34.75 kB / 354 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1475, allocations: 8.844 kB / 354 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1477, allocations: 188.1 kB / 354.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1477, allocations: 8.375 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.1477, allocations: 384 / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.148, allocations: 125.5 kB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1481, allocations: 7.938 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1481, allocations: 0 / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1481, allocations: 4 kB / 354.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.1482, allocations: 23.92 kB / 354.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.1485, allocations: 265.8 kB / 354.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.1488, allocations: 138.2 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.376e-05/0.1488, allocations: 37.75 kB / 354.8 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1489, allocations: 0 / 354.8 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1489, allocations: 38.5 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.1489, allocations: 0 / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002729/0.1492, allocations: 93.55 kB / 354.9 MB, free: 156 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1493, allocations: 77.11 kB / 355 MB, free: 60 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1494, allocations: 134.1 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1494, allocations: 29.7 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1495, allocations: 88.12 kB / 355.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1495, allocations: 7.844 kB / 355.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1495, allocations: 9.719 kB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1497, allocations: 318.8 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.1497, allocations: 16.02 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.1498, allocations: 35.42 kB / 355.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.601e-05/0.1499, allocations: 51.36 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1499, allocations: 3.938 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.15, allocations: 69.56 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.15, allocations: 4.125 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1501, allocations: 4 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1501, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.1501, allocations: 15.98 kB / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1502, allocations: 0 / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.1502, allocations: 4 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1502, allocations: 0 / 355.7 MB, free: 15.21 MB / 302.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 8.61e-05/0.1503, allocations: 125.8 kB / 355.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.1504, allocations: 45.55 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1504, allocations: 20.23 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1504, allocations: 0 / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1504, allocations: 4 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1505, allocations: 0 / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1506, allocations: 169.6 kB / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1506, allocations: 0 / 356.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1507, allocations: 8 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1507, allocations: 0 / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1507, allocations: 4 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1507, allocations: 0 / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1507, allocations: 4 kB / 356.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1509, allocations: 176.2 kB / 356.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.151, allocations: 93 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.151, allocations: 3.938 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.1511, allocations: 15.92 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1511, allocations: 0 / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1511, allocations: 384 / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.1512, allocations: 103.3 kB / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1512, allocations: 0 / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1514, allocations: 4 kB / 356.5 MB, free: 14.34 MB / 302.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.0004653/0.1519, allocations: 0.7163 MB / 357.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.1521, allocations: 39.91 kB / 357.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1521, allocations: 0 / 357.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.1521, allocations: 12.25 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1525, allocations: 35.08 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1537, allocations: 1.341 MB / 358.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.154, allocations: 0.6965 MB / 359.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.1541, allocations: 8 kB / 359.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.1541, allocations: 15.38 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.166, allocations: 1.24 MB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1662, allocations: 202.9 kB / 360.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.232, allocations: 0 / 360.8 MB, free: 9.969 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches