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.001937/0.001937, allocations: 115.5 kB / 16.63 MB, free: 6.812 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.00223/0.00223, allocations: 186 kB / 17.55 MB, free: 5.934 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.506/1.506, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 47.84 kB / 300.3 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09947, allocations: 49.44 MB / 349.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005188/0.1047, allocations: 3.219 MB / 352.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1063, allocations: 0.7557 MB / 353.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.1067, allocations: 4 kB / 353.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.107, allocations: 51.61 kB / 353.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.1074, allocations: 91.3 kB / 353.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1078, allocations: 103.9 kB / 353.9 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.1085, allocations: 442.3 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.1089, allocations: 159.8 kB / 354.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1092, allocations: 171.3 kB / 354.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1096, allocations: 179.2 kB / 354.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.1097, allocations: 40 kB / 354.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.1098, allocations: 48 kB / 354.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.1099, allocations: 83.7 kB / 355 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.1101, allocations: 203 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.1106, allocations: 0.4908 MB / 355.7 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1107, allocations: 4 kB / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1107, allocations: 0 / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.1107, allocations: 0 / 355.7 MB, free: 14.59 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001342/0.112, allocations: 0.6626 MB / 356.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1121, allocations: 12.03 kB / 356.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.1122, allocations: 66.72 kB / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.1123, allocations: 40.47 kB / 356.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.1127, allocations: 303.5 kB / 356.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1128, allocations: 25.03 kB / 356.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1128, allocations: 28.38 kB / 356.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.1135, allocations: 353.2 kB / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1136, allocations: 0 / 357.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1136, allocations: 15.94 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1136, allocations: 8 kB / 357.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.1142, allocations: 274.5 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.1167, allocations: 1.268 MB / 358.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.1174, allocations: 284.7 kB / 359 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1177, allocations: 100.8 kB / 359.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1177, allocations: 0 / 359.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1178, allocations: 42.56 kB / 359.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.1178, allocations: 4 kB / 359.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002082/0.1199, allocations: 0.6355 MB / 359.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1199, allocations: 55.39 kB / 359.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.1202, allocations: 291 kB / 360.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1203, allocations: 29.7 kB / 360.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1204, allocations: 223.7 kB / 360.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.1205, allocations: 47.27 kB / 360.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.1206, allocations: 49.7 kB / 360.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1207, allocations: 334.8 kB / 360.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1209, allocations: 79.95 kB / 360.9 MB, free: 9.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.1212, allocations: 162.1 kB / 361 MB, free: 8.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.1216, allocations: 256.6 kB / 361.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1217, allocations: 4 kB / 361.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009742/0.1226, allocations: 402 kB / 361.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.1227, allocations: 11.94 kB / 361.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.1227, allocations: 4 kB / 361.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.1232, allocations: 116.7 kB / 361.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.1233, allocations: 31.98 kB / 361.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.1265, allocations: 2.162 MB / 364 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.1268, allocations: 47.64 kB / 364.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1268, allocations: 15.94 kB / 364.1 MB, free: 5.703 MB / 302.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.0001733/0.127, allocations: 145.8 kB / 364.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.1271, allocations: 23.72 kB / 364.2 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.1271, allocations: 29.91 kB / 364.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1272, allocations: 7.938 kB / 364.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1272, allocations: 4 kB / 364.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1272, allocations: 3.984 kB / 364.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1285, allocations: 0.7246 MB / 365 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1285, allocations: 0 / 365 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.1286, allocations: 12 kB / 365 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/0.1289, allocations: 113 kB / 365.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.129, allocations: 4 kB / 365.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.1317, allocations: 2.154 MB / 367.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1317, allocations: 3.984 kB / 367.3 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.1325, allocations: 411.8 kB / 367.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.1326, allocations: 108.8 kB / 367.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.1327, allocations: 0 / 367.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1329, allocations: 27.97 kB / 367.8 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.133, allocations: 11.92 kB / 367.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.133, allocations: 8 kB / 367.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1332, allocations: 210 kB / 368 MB, free: 1.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1332, allocations: 0 / 368 MB, free: 1.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.1337, allocations: 91.84 kB / 368.1 MB, free: 1.387 MB / 302.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.001164/0.1349, allocations: 0.943 MB / 369.1 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.1357, allocations: 348.9 kB / 369.4 MB, free: 60 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1357, allocations: 0 / 369.4 MB, free: 60 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2249/0.3606, allocations: 232.8 kB / 369.6 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.3614, allocations: 37.91 kB / 369.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.3669, allocations: 3.267 MB / 373 MB, free: 23.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3672, allocations: 0.767 MB / 373.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3674, allocations: 23.7 kB / 373.7 MB, free: 23.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3675, allocations: 96.86 kB / 373.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3675, allocations: 3.469 kB / 373.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3912, allocations: 6.356 MB / 380.2 MB, free: 22.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.3914, allocations: 234.4 kB / 380.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.594, allocations: 0 / 380.4 MB, free: 21.97 MB / 302.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