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.001137/0.001137, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 59.91 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005782/0.3037, allocations: 3.204 MB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3054, allocations: 0.8102 MB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.3058, allocations: 11.94 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.3062, allocations: 59.42 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000457/0.3066, allocations: 115 kB / 413 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.3071, allocations: 131.8 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.3078, allocations: 450.2 kB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.3082, allocations: 151.8 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.3086, allocations: 175.4 kB / 413.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.3089, allocations: 179.2 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-05/0.309, allocations: 44 kB / 414.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3092, allocations: 52 kB / 414.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.3092, allocations: 83.7 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.3095, allocations: 195.1 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.31, allocations: 0.5039 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3101, allocations: 0 / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3101, allocations: 0 / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.3101, allocations: 0 / 414.9 MB, free: 11.38 MB / 334.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.001139/0.3112, allocations: 0.6704 MB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3113, allocations: 8.031 kB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.561e-05/0.3114, allocations: 78.59 kB / 415.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.3116, allocations: 44.47 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.312, allocations: 319.5 kB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3121, allocations: 28.97 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.3121, allocations: 28.38 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.3128, allocations: 349.2 kB / 416.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3128, allocations: 0 / 416.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3128, allocations: 20 kB / 416.4 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3129, allocations: 4 kB / 416.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.3134, allocations: 282.4 kB / 416.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3154, allocations: 1.252 MB / 418 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.316, allocations: 295.8 kB / 418.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3162, allocations: 92.81 kB / 418.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3163, allocations: 7.984 kB / 418.4 MB, free: 7.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3163, allocations: 38.56 kB / 418.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3163, allocations: 0 / 418.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002034/0.3184, allocations: 0.6393 MB / 419 MB, free: 6.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.3185, allocations: 55.41 kB / 419.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.3188, allocations: 295 kB / 419.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3188, allocations: 29.7 kB / 419.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.319, allocations: 215.8 kB / 419.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.319, allocations: 51.2 kB / 419.7 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.3191, allocations: 53.7 kB / 419.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3192, allocations: 330.8 kB / 420 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.3194, allocations: 79.95 kB / 420.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.3197, allocations: 158.3 kB / 420.3 MB, free: 5.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3201, allocations: 252.8 kB / 420.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3201, allocations: 0 / 420.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009095/0.3211, allocations: 409.9 kB / 420.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3211, allocations: 7.938 kB / 420.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3211, allocations: 4 kB / 420.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.3215, allocations: 116.8 kB / 421.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3217, allocations: 35.92 kB / 421.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.3245, allocations: 2.166 MB / 423.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3248, allocations: 43.73 kB / 423.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3248, allocations: 12 kB / 423.3 MB, free: 2.457 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.0001633/0.325, allocations: 153.7 kB / 423.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.325, allocations: 27.7 kB / 423.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.3251, allocations: 25.92 kB / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3251, allocations: 15.91 kB / 423.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3251, allocations: 0 / 423.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3251, allocations: 4 kB / 423.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3264, allocations: 0.7178 MB / 424.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3264, allocations: 4 kB / 424.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.3265, allocations: 15.98 kB / 424.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003517/0.3269, allocations: 100.7 kB / 424.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3269, allocations: 7.984 kB / 424.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.3296, allocations: 2.154 MB / 426.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3297, allocations: 0 / 426.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.3305, allocations: 411.8 kB / 426.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.3306, allocations: 104.8 kB / 427 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.3306, allocations: 0 / 427 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3308, allocations: 27.98 kB / 427.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3309, allocations: 12 kB / 427.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3309, allocations: 8 kB / 427.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.3311, allocations: 213.9 kB / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3311, allocations: 0 / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.3316, allocations: 95.69 kB / 427.4 MB, free: 14.13 MB / 350.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.001146/0.3328, allocations: 0.9428 MB / 428.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.3335, allocations: 349.5 kB / 428.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3335, allocations: 0 / 428.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.3338, allocations: 227.2 kB / 428.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3342, allocations: 45.03 kB / 428.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.3386, allocations: 3.149 MB / 432.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.3389, allocations: 0.7713 MB / 432.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.3391, allocations: 26.28 kB / 432.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3392, allocations: 99.39 kB / 433 MB, free: 8.301 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3392, allocations: 0 / 433 MB, free: 8.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3664, allocations: 6.76 MB / 439.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 7.297 kB / 439.7 MB, free: 1.688 MB / 350.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