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.001182/0.001182, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.88 kB / 306.4 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09367, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.00411/0.09782, allocations: 3.244 MB / 360.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.09929, allocations: 0.8064 MB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.09962, allocations: 8 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.09989, allocations: 43.67 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1002, allocations: 99.17 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1005, allocations: 115.9 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.101, allocations: 426.2 kB / 361.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.1013, allocations: 140.4 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1016, allocations: 147.4 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1018, allocations: 163.2 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1019, allocations: 24 kB / 362.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-05/0.102, allocations: 35.98 kB / 362.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.102, allocations: 71.62 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1022, allocations: 179.1 kB / 362.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.1026, allocations: 494.6 kB / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1026, allocations: 0 / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1026, allocations: 0 / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1026, allocations: 0 / 362.9 MB, free: 8.395 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.001075/0.1037, allocations: 0.6704 MB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1038, allocations: 8.031 kB / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.1038, allocations: 70.72 kB / 363.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.104, allocations: 48.45 kB / 363.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.1044, allocations: 307.5 kB / 364 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1044, allocations: 28.97 kB / 364 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.1045, allocations: 32.38 kB / 364 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.1051, allocations: 357.1 kB / 364.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1051, allocations: 0 / 364.4 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1052, allocations: 12 kB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1052, allocations: 8 kB / 364.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.1058, allocations: 274.5 kB / 364.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.1077, allocations: 1.272 MB / 365.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.1083, allocations: 287.8 kB / 366.2 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.1085, allocations: 100.8 kB / 366.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1085, allocations: 0 / 366.3 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1085, allocations: 30.56 kB / 366.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.1085, allocations: 4 kB / 366.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001941/0.1105, allocations: 0.6416 MB / 367 MB, free: 4.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1105, allocations: 59.39 kB / 367 MB, free: 3.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.1108, allocations: 302.9 kB / 367.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1109, allocations: 25.7 kB / 367.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.111, allocations: 219.7 kB / 367.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1111, allocations: 51.34 kB / 367.6 MB, free: 3.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.1111, allocations: 49.61 kB / 367.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1113, allocations: 338.8 kB / 368 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.1115, allocations: 83.89 kB / 368.1 MB, free: 2.867 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.1117, allocations: 158.3 kB / 368.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.1122, allocations: 246 kB / 368.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1122, allocations: 4 kB / 368.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009206/0.1131, allocations: 404.5 kB / 368.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1131, allocations: 11.94 kB / 368.9 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1132, allocations: 3.938 kB / 368.9 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.1136, allocations: 104.8 kB / 369 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1137, allocations: 39.98 kB / 369 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.155/0.2688, allocations: 1.961 MB / 371 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.2691, allocations: 38.5 kB / 371 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.2691, allocations: 12.92 kB / 371 MB, free: 19.14 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.0001551/0.2693, allocations: 155.2 kB / 371.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.2694, allocations: 28.84 kB / 371.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.2694, allocations: 31.06 kB / 371.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2694, allocations: 2.594 kB / 371.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2695, allocations: 2.891 kB / 371.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2695, allocations: 0.5625 kB / 371.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.2708, allocations: 0.7291 MB / 372 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2708, allocations: 0 / 372 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.2709, allocations: 20.3 kB / 372 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.2712, allocations: 99.83 kB / 372.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2712, allocations: 4.062 kB / 372.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.2735, allocations: 1.945 MB / 374.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2735, allocations: 7.062 kB / 374.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.2744, allocations: 408 kB / 374.5 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.2745, allocations: 105.7 kB / 374.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.2745, allocations: 6.047 kB / 374.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2747, allocations: 21.98 kB / 374.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.2748, allocations: 17.83 kB / 374.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2748, allocations: 4.641 kB / 374.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.275, allocations: 214.3 kB / 374.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.275, allocations: 0 / 374.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.2755, allocations: 93.91 kB / 374.9 MB, free: 17.04 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.0009976/0.2765, allocations: 0.9393 MB / 375.8 MB, free: 16.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.2772, allocations: 337.7 kB / 376.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2772, allocations: 0 / 376.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003252/0.2776, allocations: 233 kB / 376.4 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.278, allocations: 48.2 kB / 376.5 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.2822, allocations: 3.277 MB / 379.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2824, allocations: 0.767 MB / 380.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2826, allocations: 27.89 kB / 380.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2827, allocations: 96.5 kB / 380.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2827, allocations: 0 / 380.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.3014, allocations: 6.16 MB / 386.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/0.3015, allocations: 238.8 kB / 387 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.097, allocations: 3.719 kB / 387 MB, free: 11.66 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