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.001417/0.001417, allocations: 122.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 63.91 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2892, allocations: 50.55 MB / 408.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004392/0.2936, allocations: 3.2 MB / 412.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.295, allocations: 0.8257 MB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.2952, allocations: 4 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.2953, allocations: 59.44 kB / 413 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2956, allocations: 107 kB / 413.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.2959, allocations: 139.8 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.2963, allocations: 442.2 kB / 413.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.2966, allocations: 163.8 kB / 413.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.2969, allocations: 163.4 kB / 413.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2971, allocations: 183.2 kB / 414.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.917e-05/0.2972, allocations: 44 kB / 414.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.2973, allocations: 44 kB / 414.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/0.2974, allocations: 91.62 kB / 414.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2976, allocations: 191.1 kB / 414.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.2981, allocations: 0.5126 MB / 415 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2981, allocations: 0 / 415 MB, free: 11.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2981, allocations: 4 kB / 415 MB, free: 11.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2981, allocations: 0 / 415 MB, free: 11.3 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.00107/0.2992, allocations: 0.674 MB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2993, allocations: 12.03 kB / 415.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.354e-05/0.2993, allocations: 70.66 kB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.2995, allocations: 48.69 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.3, allocations: 307.7 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3, allocations: 33.03 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3, allocations: 28.38 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.3007, allocations: 353.2 kB / 416.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3007, allocations: 0 / 416.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3007, allocations: 12 kB / 416.5 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3008, allocations: 12 kB / 416.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.3014, allocations: 278.4 kB / 416.8 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3034, allocations: 1.257 MB / 418.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.304, allocations: 295.8 kB / 418.4 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.3042, allocations: 96.77 kB / 418.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3043, allocations: 7.969 kB / 418.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3043, allocations: 38.5 kB / 418.5 MB, free: 7.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.3043, allocations: 4 kB / 418.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002111/0.3064, allocations: 0.6318 MB / 419.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3065, allocations: 55.34 kB / 419.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.3068, allocations: 303 kB / 419.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3069, allocations: 25.7 kB / 419.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.307, allocations: 220.3 kB / 419.7 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.3071, allocations: 55.53 kB / 419.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.3072, allocations: 49.66 kB / 419.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3073, allocations: 338.8 kB / 420.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3076, allocations: 75.95 kB / 420.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.3078, allocations: 170.2 kB / 420.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.3083, allocations: 242.1 kB / 420.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3083, allocations: 0 / 420.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009882/0.3093, allocations: 405.2 kB / 421 MB, free: 4.902 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3093, allocations: 11.94 kB / 421 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3094, allocations: 4.062 kB / 421 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.3098, allocations: 108.7 kB / 421.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.31, allocations: 47.91 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/0.3139, allocations: 2.174 MB / 423.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3142, allocations: 31.77 kB / 423.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3142, allocations: 20.06 kB / 423.4 MB, free: 2.367 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.0001665/0.3144, allocations: 149.7 kB / 423.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.3144, allocations: 23.86 kB / 423.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.3145, allocations: 29.91 kB / 423.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3145, allocations: 7.922 kB / 423.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.3145, allocations: 4 kB / 423.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3145, allocations: 0 / 423.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3158, allocations: 0.7295 MB / 424.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3159, allocations: 0 / 424.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.3159, allocations: 8 kB / 424.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.3163, allocations: 108.7 kB / 424.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3163, allocations: 7.938 kB / 424.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.3192, allocations: 2.155 MB / 426.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3192, allocations: 0 / 426.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008536/0.3201, allocations: 415.7 kB / 427 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.3202, allocations: 108.9 kB / 427.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3202, allocations: 4 kB / 427.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.3204, allocations: 15.98 kB / 427.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.3205, allocations: 27.91 kB / 427.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3205, allocations: 4 kB / 427.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3207, allocations: 210 kB / 427.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3207, allocations: 0 / 427.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.3212, allocations: 83.89 kB / 427.5 MB, free: 14.05 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.001258/0.3224, allocations: 0.955 MB / 428.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.3232, allocations: 350.4 kB / 428.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3232, allocations: 0 / 428.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.3236, allocations: 226.5 kB / 429 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3239, allocations: 49.94 kB / 429 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.329, allocations: 3.15 MB / 432.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.3295, allocations: 0.7675 MB / 433 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.3296, allocations: 26.27 kB / 433 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3297, allocations: 99.34 kB / 433.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3297, allocations: 4 kB / 433.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.3607, allocations: 6.627 MB / 439.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.84, allocations: 8.812 kB / 439.7 MB, free: 1.715 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.1.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