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.0008483/0.0008485, allocations: 93.7 kB / 16.65 MB, free: 6.59 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.0008865/0.0008863, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.482/1.482, allocations: 223.3 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002803, allocations: 8 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 50.41 MB / 352 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003661/0.119, allocations: 2.833 MB / 354.8 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1206, allocations: 0.7519 MB / 355.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.121, allocations: 4 kB / 355.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.1213, allocations: 47.62 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.1217, allocations: 99.23 kB / 355.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1221, allocations: 103.9 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005841/0.1227, allocations: 414.2 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.123, allocations: 132.4 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.1233, allocations: 139.3 kB / 356.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1236, allocations: 163.2 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.1236, allocations: 16 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.1237, allocations: 20 kB / 356.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1238, allocations: 55.7 kB / 356.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.124, allocations: 192.8 kB / 356.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.1244, allocations: 474.4 kB / 357.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1245, allocations: 0 / 357.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1245, allocations: 0 / 357.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1245, allocations: 4 kB / 357.4 MB, free: 14.15 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.001136/0.1256, allocations: 0.6196 MB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1257, allocations: 8.031 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.1258, allocations: 70.72 kB / 358.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.1259, allocations: 36.56 kB / 358.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1264, allocations: 303.5 kB / 358.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1264, allocations: 21.03 kB / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.1265, allocations: 32.38 kB / 358.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.1272, allocations: 353.2 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1272, allocations: 7.984 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1273, allocations: 8 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1273, allocations: 8 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.1279, allocations: 286.4 kB / 359.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1301, allocations: 1.28 MB / 360.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.1308, allocations: 299.2 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.1311, allocations: 104.8 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1311, allocations: 4 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1311, allocations: 38.5 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.1311, allocations: 0 / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002243/0.1334, allocations: 0.6824 MB / 361.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1335, allocations: 59.41 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1338, allocations: 294.9 kB / 361.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1338, allocations: 29.7 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.134, allocations: 215.8 kB / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.1341, allocations: 51.25 kB / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1341, allocations: 25.72 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1342, allocations: 334.8 kB / 362.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.1345, allocations: 91.89 kB / 362.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1347, allocations: 166.2 kB / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1353, allocations: 252.4 kB / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.1353, allocations: 7.984 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001049/0.1363, allocations: 424.4 kB / 363.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1364, allocations: 11.88 kB / 363.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1364, allocations: 8.062 kB / 363.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.1369, allocations: 104.8 kB / 363.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.137, allocations: 51.92 kB / 363.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.1401, allocations: 1.983 MB / 365.6 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1404, allocations: 47.55 kB / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.1404, allocations: 15.98 kB / 365.6 MB, free: 5.391 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.0001978/0.1406, allocations: 149.9 kB / 365.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.1407, allocations: 27.62 kB / 365.8 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.1408, allocations: 25.91 kB / 365.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1408, allocations: 4 kB / 365.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1408, allocations: 0 / 365.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1408, allocations: 3.938 kB / 365.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.1422, allocations: 0.745 MB / 366.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1422, allocations: 0 / 366.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.1423, allocations: 12 kB / 366.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/0.1426, allocations: 108.8 kB / 366.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1427, allocations: 4 kB / 366.7 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.1455, allocations: 1.987 MB / 368.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1455, allocations: 3.938 kB / 368.7 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009275/0.1464, allocations: 434.9 kB / 369.1 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1465, allocations: 112.7 kB / 369.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1466, allocations: 4 kB / 369.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1468, allocations: 23.98 kB / 369.2 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1468, allocations: 15.92 kB / 369.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1469, allocations: 11.98 kB / 369.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.1471, allocations: 206 kB / 369.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1471, allocations: 4 kB / 369.5 MB, free: 1.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.1476, allocations: 87.84 kB / 369.6 MB, free: 1.203 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.001263/0.1489, allocations: 0.9626 MB / 370.5 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1825/0.3314, allocations: 343 kB / 370.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3315, allocations: 0.9062 kB / 370.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.332, allocations: 239.3 kB / 371.1 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3325, allocations: 38.53 kB / 371.1 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.3378, allocations: 3.339 MB / 374.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3382, allocations: 0.7677 MB / 375.2 MB, free: 22.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3383, allocations: 27.16 kB / 375.3 MB, free: 22.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3385, allocations: 94.12 kB / 375.4 MB, free: 22.17 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3385, allocations: 0 / 375.4 MB, free: 22.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.3582, allocations: 6.017 MB / 381.4 MB, free: 21.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.3584, allocations: 229.3 kB / 381.6 MB, free: 21.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.481, allocations: 0 / 381.6 MB, free: 21.23 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