Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",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.001187/0.001187, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001313/0.001313, allocations: 200 kB / 18.01 MB, free: 5.047 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2792, allocations: 49.43 MB / 400.3 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004876/0.2841, allocations: 3.19 MB / 403.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2859, allocations: 0.7557 MB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.2863, allocations: 7.938 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2866, allocations: 63.42 kB / 404.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.287, allocations: 111.1 kB / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2874, allocations: 119.8 kB / 404.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.2879, allocations: 450.2 kB / 404.9 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.2883, allocations: 151.9 kB / 405.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.2886, allocations: 171.3 kB / 405.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.2889, allocations: 179.2 kB / 405.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.663e-05/0.289, allocations: 44 kB / 405.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.2891, allocations: 44 kB / 405.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.2892, allocations: 87.69 kB / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.2894, allocations: 199.1 kB / 405.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.29, allocations: 0.4932 MB / 406.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.29, allocations: 4 kB / 406.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.29, allocations: 0 / 406.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.29, allocations: 0 / 406.3 MB, free: 2.742 MB / 318.1 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.00121/0.2913, allocations: 0.674 MB / 407 MB, free: 2.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2913, allocations: 8.031 kB / 407 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.2914, allocations: 70.72 kB / 407 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.2915, allocations: 40.7 kB / 407.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.292, allocations: 303.7 kB / 407.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.292, allocations: 33.03 kB / 407.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.292, allocations: 24.38 kB / 407.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.2927, allocations: 357.2 kB / 407.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2927, allocations: 3.938 kB / 407.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.2928, allocations: 12 kB / 407.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2928, allocations: 8 kB / 407.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.2934, allocations: 270.5 kB / 408.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.2954, allocations: 1.261 MB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.296, allocations: 291.8 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2962, allocations: 100.7 kB / 409.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.2963, allocations: 4 kB / 409.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2963, allocations: 38.55 kB / 409.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2963, allocations: 0 / 409.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.00205/0.2984, allocations: 0.6473 MB / 410.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2984, allocations: 51.41 kB / 410.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.2987, allocations: 299 kB / 410.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2988, allocations: 29.7 kB / 410.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2989, allocations: 216.3 kB / 411 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2989, allocations: 51.59 kB / 411 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-05/0.299, allocations: 49.66 kB / 411.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2992, allocations: 334.8 kB / 411.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2994, allocations: 83.95 kB / 411.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.2996, allocations: 174.1 kB / 411.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.3001, allocations: 240.7 kB / 411.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3001, allocations: 0 / 411.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009695/0.3011, allocations: 406 kB / 412.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3011, allocations: 11.94 kB / 412.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.3011, allocations: 8.062 kB / 412.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004322/0.3016, allocations: 112.7 kB / 412.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3017, allocations: 35.98 kB / 412.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.3048, allocations: 2.188 MB / 414.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.305, allocations: 35.78 kB / 414.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3051, allocations: 12.06 kB / 414.7 MB, free: 9.812 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3053, allocations: 153.8 kB / 414.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.3053, allocations: 27.81 kB / 414.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.3054, allocations: 29.91 kB / 414.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3054, allocations: 3.938 kB / 414.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3054, allocations: 3.938 kB / 414.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3054, allocations: 4 kB / 414.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.3068, allocations: 0.714 MB / 415.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3068, allocations: 0 / 415.6 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.3069, allocations: 19.92 kB / 415.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.3072, allocations: 108.7 kB / 415.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3072, allocations: 4 kB / 415.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.31, allocations: 2.15 MB / 417.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3101, allocations: 4.031 kB / 417.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.3109, allocations: 411.8 kB / 418.3 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3111, allocations: 116.8 kB / 418.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3111, allocations: 0 / 418.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.3113, allocations: 23.98 kB / 418.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3114, allocations: 19.91 kB / 418.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3114, allocations: 4 kB / 418.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.3116, allocations: 217.9 kB / 418.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.3116, allocations: 0 / 418.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004806/0.3121, allocations: 83.83 kB / 418.8 MB, free: 5.488 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.3133, allocations: 0.9472 MB / 419.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.314, allocations: 350.4 kB / 420.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.314, allocations: 0 / 420.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.3144, allocations: 230.5 kB / 420.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.3148, allocations: 41.44 kB / 420.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/0.3197, allocations: 3.129 MB / 423.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3201, allocations: 0.7753 MB / 424.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.3202, allocations: 26.45 kB / 424.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.3203, allocations: 95.41 kB / 424.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3204, allocations: 4 kB / 424.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.3512, allocations: 6.606 MB / 431 MB, free: 9.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.37, allocations: 6.656 kB / 431 MB, free: 9.199 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches