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.001923/0.001923, allocations: 111 kB / 17.06 MB, free: 5.965 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.002949/0.002949, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.922/2.922, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003206/0.003206, allocations: 51.91 kB / 350.8 MB, free: 3.688 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6632, allocations: 49.43 MB / 400.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.009957/0.6732, allocations: 3.186 MB / 403.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.6763, allocations: 0.7479 MB / 404.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006186/0.677, allocations: 11.94 kB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.6775, allocations: 59.42 kB / 404.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007236/0.6783, allocations: 107 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.6791, allocations: 119.9 kB / 404.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.6804, allocations: 450.2 kB / 404.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.681, allocations: 151.9 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.6817, allocations: 171.3 kB / 405.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.6821, allocations: 179.2 kB / 405.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.6823, allocations: 44 kB / 405.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.6825, allocations: 44 kB / 405.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.6827, allocations: 91.69 kB / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.6832, allocations: 195.1 kB / 405.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008673/0.6841, allocations: 0.496 MB / 406.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6841, allocations: 0 / 406.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.6841, allocations: 4 kB / 406.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.382e-05/0.6842, 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.002432/0.6866, allocations: 0.6626 MB / 406.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.768e-05/0.6867, allocations: 12.02 kB / 407 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.6869, allocations: 66.73 kB / 407 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.6871, allocations: 40.47 kB / 407.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.6881, allocations: 303.6 kB / 407.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.6881, allocations: 28.97 kB / 407.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.6882, allocations: 28.38 kB / 407.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.6895, allocations: 357.1 kB / 407.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.6895, allocations: 0 / 407.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.6896, allocations: 12 kB / 407.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.6896, allocations: 8 kB / 407.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.6908, allocations: 270.5 kB / 408 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.6947, allocations: 1.264 MB / 409.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.6959, allocations: 305.4 kB / 409.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003703/0.6963, allocations: 92.81 kB / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.6963, allocations: 4 kB / 409.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.663e-05/0.6964, allocations: 34.56 kB / 409.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 3.757e-06/0.6964, allocations: 0 / 409.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003656/0.7001, allocations: 0.6433 MB / 410.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7002, allocations: 51.41 kB / 410.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.7008, allocations: 298.9 kB / 410.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.7008, allocations: 29.7 kB / 410.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.7011, allocations: 211.8 kB / 411 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.139e-05/0.7012, allocations: 47.3 kB / 411 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7014, allocations: 53.61 kB / 411.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.7016, allocations: 342.8 kB / 411.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.702, allocations: 83.89 kB / 411.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.7025, allocations: 166.2 kB / 411.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.7034, allocations: 242.1 kB / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7034, allocations: 0 / 411.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001674/0.7051, allocations: 400 kB / 412.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.7052, allocations: 11.94 kB / 412.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.7052, allocations: 8.141 kB / 412.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.7061, allocations: 108.7 kB / 412.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.7064, allocations: 43.98 kB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006034/0.7125, allocations: 2.181 MB / 414.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.7131, allocations: 39.67 kB / 414.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.7131, allocations: 12.06 kB / 414.7 MB, free: 9.836 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.0004366/0.7136, allocations: 153.7 kB / 414.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.7137, allocations: 23.72 kB / 414.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.7138, allocations: 29.91 kB / 414.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7138, allocations: 3.938 kB / 414.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7138, allocations: 0 / 414.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.7138, allocations: 4 kB / 414.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.7162, allocations: 0.7178 MB / 415.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.7162, allocations: 0 / 415.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.7163, allocations: 19.92 kB / 415.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000625/0.7169, allocations: 108.7 kB / 415.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.717, allocations: 0 / 415.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005009/0.722, allocations: 2.151 MB / 417.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.722, allocations: 4.031 kB / 417.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.7236, allocations: 415.6 kB / 418.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.7239, allocations: 104.8 kB / 418.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.7239, allocations: 0 / 418.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.7244, allocations: 27.98 kB / 418.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7245, allocations: 19.91 kB / 418.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.7246, allocations: 4 kB / 418.4 MB, free: 5.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.725, allocations: 217.9 kB / 418.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.725, allocations: 3.938 kB / 418.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001038/0.7261, allocations: 87.69 kB / 418.7 MB, free: 5.516 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.002129/0.7282, allocations: 0.9432 MB / 419.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.7298, allocations: 346.4 kB / 420 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.7298, allocations: 0 / 420 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.7305, allocations: 226.5 kB / 420.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.7314, allocations: 45.38 kB / 420.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/0.7408, allocations: 3.118 MB / 423.4 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/0.7418, allocations: 0.7713 MB / 424.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002145/0.742, allocations: 18.3 kB / 424.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.7423, allocations: 99.41 kB / 424.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7423, allocations: 0 / 424.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1482/0.8906, allocations: 6.744 MB / 431 MB, free: 9.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 29.03/29.92, allocations: 11.92 kB / 431 MB, free: 9.117 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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