Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00142/0.001421, allocations: 113.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 205.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 61.28 kB / 306.6 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 50.54 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004723/0.108, allocations: 3.236 MB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1096, allocations: 0.7986 MB / 361.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.11, allocations: 11.94 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1104, allocations: 47.67 kB / 361.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.1107, allocations: 87.3 kB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.1112, allocations: 123.8 kB / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.1119, allocations: 442.2 kB / 361.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/0.1123, allocations: 167.9 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.1127, allocations: 167.4 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.113, allocations: 179.2 kB / 362.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.113, allocations: 44 kB / 362.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1132, allocations: 48 kB / 362.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1132, allocations: 91.62 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.1134, allocations: 195.1 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.1139, allocations: 0.4908 MB / 363.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1139, allocations: 4 kB / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1139, allocations: 0 / 363.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.114, allocations: 7.938 kB / 363.2 MB, free: 7.93 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.001102/0.1151, allocations: 0.6703 MB / 363.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1151, allocations: 12.03 kB / 363.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.338e-05/0.1152, allocations: 74.66 kB / 364 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1154, allocations: 52.45 kB / 364 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1158, allocations: 307.5 kB / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1158, allocations: 21.03 kB / 364.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.1159, allocations: 32.38 kB / 364.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.1166, allocations: 353.2 kB / 364.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.1166, allocations: 0 / 364.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.1166, allocations: 16 kB / 364.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.1167, allocations: 4 kB / 364.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.1173, allocations: 270.4 kB / 365 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1193, allocations: 1.268 MB / 366.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005856/0.1199, allocations: 295.8 kB / 366.6 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1201, allocations: 96.81 kB / 366.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1202, allocations: 4 kB / 366.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1202, allocations: 30.56 kB / 366.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.1202, allocations: 0 / 366.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002177/0.1224, allocations: 0.6459 MB / 367.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1225, allocations: 51.41 kB / 367.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.1228, allocations: 306.9 kB / 367.7 MB, free: 3.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1229, allocations: 29.7 kB / 367.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.123, allocations: 211.8 kB / 367.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.1231, allocations: 55.33 kB / 368 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.1232, allocations: 49.62 kB / 368 MB, free: 2.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1234, allocations: 338.8 kB / 368.4 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1236, allocations: 75.97 kB / 368.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1238, allocations: 162.2 kB / 368.6 MB, free: 2.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.1243, allocations: 250 kB / 368.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1243, allocations: 0 / 368.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009488/0.1252, allocations: 408.6 kB / 369.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1253, allocations: 11.92 kB / 369.2 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1253, allocations: 4 kB / 369.2 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.1257, allocations: 104.8 kB / 369.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1259, allocations: 47.89 kB / 369.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1584/0.2843, allocations: 2.169 MB / 371.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2846, allocations: 34.44 kB / 371.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.2847, allocations: 12.95 kB / 371.6 MB, free: 18.68 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.0001855/0.2848, allocations: 156 kB / 371.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.2849, allocations: 30.56 kB / 371.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.285, allocations: 25.48 kB / 371.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.285, allocations: 4.656 kB / 371.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.285, allocations: 0 / 371.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.285, allocations: 5.781 kB / 371.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.2864, allocations: 0.7278 MB / 372.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2864, allocations: 0 / 372.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.386e-05/0.2865, allocations: 16.42 kB / 372.6 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/0.2868, allocations: 102.2 kB / 372.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2868, allocations: 1.547 kB / 372.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.2894, allocations: 2.152 MB / 374.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2894, allocations: 0.8594 kB / 374.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/0.2903, allocations: 416.1 kB / 375.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.2904, allocations: 111.5 kB / 375.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.2904, allocations: 0 / 375.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2906, allocations: 27.11 kB / 375.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.2907, allocations: 10.75 kB / 375.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2907, allocations: 8.031 kB / 375.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.291, allocations: 209.8 kB / 375.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.291, allocations: 0.5938 kB / 375.6 MB, free: 16.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005246/0.2915, allocations: 91.06 kB / 375.7 MB, free: 16.31 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.001035/0.2926, allocations: 0.9464 MB / 376.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.2934, allocations: 353.4 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2934, allocations: 3.75 kB / 377 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2937, allocations: 224.5 kB / 377.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.2942, allocations: 46.19 kB / 377.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.2995, allocations: 3.283 MB / 380.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.2998, allocations: 0.7659 MB / 381.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.3, allocations: 29.16 kB / 381.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3001, allocations: 95.44 kB / 381.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3001, allocations: 0 / 381.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.3235, allocations: 6.374 MB / 387.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3237, allocations: 234.2 kB / 388 MB, free: 10.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.265, allocations: 1.625 kB / 388 MB, free: 10.75 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches