Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009389/0.0009388, allocations: 190.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 226.5 MB / 244.7 MB, free: 6.523 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007339/0.0007339, allocations: 91.58 kB / 296.7 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002124, allocations: 8 kB / 356.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1743, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002149/0.1765, allocations: 2.734 MB / 410.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.1773, allocations: 0.7511 MB / 411.6 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1775, allocations: 11.94 kB / 411.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1776, allocations: 44.33 kB / 411.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1777, allocations: 93.61 kB / 411.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.178, allocations: 75.86 kB / 411.9 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1782, allocations: 415.1 kB / 412.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1784, allocations: 132.7 kB / 412.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1786, allocations: 135.5 kB / 412.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1787, allocations: 151.2 kB / 412.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1788, allocations: 24 kB / 412.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.1788, allocations: 20 kB / 412.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.1789, allocations: 55.77 kB / 412.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.179, allocations: 188.9 kB / 413 MB, free: 22.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1792, allocations: 392.1 kB / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1792, allocations: 3.938 kB / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1792, allocations: 0 / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1793, allocations: 0 / 413.3 MB, free: 22.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007185/0.18, allocations: 0.6159 MB / 414 MB, free: 21.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.18, allocations: 12.03 kB / 414 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.1801, allocations: 70.72 kB / 414 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1802, allocations: 52.45 kB / 414.1 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1805, allocations: 299.5 kB / 414.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1805, allocations: 21.03 kB / 414.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.1805, allocations: 32.38 kB / 414.4 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/0.1811, allocations: 357.2 kB / 414.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1811, allocations: 0 / 414.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1811, allocations: 16 kB / 414.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1811, allocations: 4 kB / 414.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.1816, allocations: 278.4 kB / 415.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1831, allocations: 1.284 MB / 416.4 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.1836, allocations: 299.8 kB / 416.6 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1838, allocations: 104.8 kB / 416.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1838, allocations: 0 / 416.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.1838, allocations: 34.56 kB / 416.8 MB, free: 18.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.1838, allocations: 3.938 kB / 416.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001798/0.1857, allocations: 0.6939 MB / 417.5 MB, free: 18.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.1857, allocations: 55.41 kB / 417.5 MB, free: 18.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1859, allocations: 291 kB / 417.8 MB, free: 17.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1859, allocations: 25.7 kB / 417.8 MB, free: 17.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.186, allocations: 219.7 kB / 418.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.186, allocations: 55.19 kB / 418.1 MB, free: 17.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.1861, allocations: 4 kB / 418.1 MB, free: 17.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.1861, allocations: 338.8 kB / 418.4 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1863, allocations: 83.95 kB / 418.5 MB, free: 17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1865, allocations: 166.1 kB / 418.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.1869, allocations: 248.8 kB / 418.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1869, allocations: 4 kB / 418.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008076/0.1877, allocations: 425.9 kB / 419.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1877, allocations: 12 kB / 419.4 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1877, allocations: 4 kB / 419.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.1881, allocations: 112.8 kB / 419.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1882, allocations: 39.92 kB / 419.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.1903, allocations: 1.983 MB / 421.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.1905, allocations: 47.61 kB / 421.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1905, allocations: 15.94 kB / 421.6 MB, free: 13.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.1907, allocations: 153.8 kB / 421.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1907, allocations: 23.72 kB / 421.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.1907, allocations: 29.91 kB / 421.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1908, allocations: 0 / 421.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1908, allocations: 0 / 421.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1908, allocations: 3.938 kB / 421.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1918, allocations: 0.7449 MB / 422.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1918, allocations: 0 / 422.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.1919, allocations: 12 kB / 422.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.1922, allocations: 108.8 kB / 422.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1922, allocations: 4 kB / 422.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.1941, allocations: 1.979 MB / 424.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1941, allocations: 3.984 kB / 424.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.1948, allocations: 439.7 kB / 425.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.1949, allocations: 108.8 kB / 425.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1949, allocations: 4 kB / 425.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1951, allocations: 19.98 kB / 425.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1952, allocations: 15.98 kB / 425.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1952, allocations: 4 kB / 425.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1953, allocations: 210 kB / 425.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1953, allocations: 0 / 425.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.1957, allocations: 95.69 kB / 425.5 MB, free: 9.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008746/0.1966, allocations: 0.9693 MB / 426.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.1972, allocations: 350.2 kB / 426.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1972, allocations: 0 / 426.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.1975, allocations: 239.2 kB / 427 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1978, allocations: 37.31 kB / 427.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2003, allocations: 1.834 MB / 428.9 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2004, allocations: 0.7713 MB / 429.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.2005, allocations: 95.41 kB / 429.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2005, allocations: 0 / 429.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/2.983, allocations: 5.692 MB / 435.5 MB, free: 15.41 MB / 314.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches