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.0008339/0.0008373, allocations: 93.78 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.7 MB / 246.8 MB, free: 9.566 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002079/0.0002079, allocations: 8 kB / 307.9 MB, free: 472 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08353/0.08375, allocations: 51.52 MB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002758/0.08654, allocations: 2.859 MB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.08759, allocations: 0.7987 MB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.08772, allocations: 11.94 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.08785, allocations: 43.67 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.08803, allocations: 91.31 kB / 363.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.08828, allocations: 119.8 kB / 363.3 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.08863, allocations: 430.1 kB / 363.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.08885, allocations: 128.4 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.08904, allocations: 139.4 kB / 364 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.08921, allocations: 151.2 kB / 364.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.08925, allocations: 24 kB / 364.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.08932, allocations: 24 kB / 364.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.08937, allocations: 67.62 kB / 364.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.08952, allocations: 188.8 kB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.08987, allocations: 474.5 kB / 364.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.08988, allocations: 4 kB / 364.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08989, allocations: 0 / 364.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.0899, allocations: 0 / 364.9 MB, free: 7.391 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.000834/0.09074, allocations: 0.6236 MB / 365.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.09078, allocations: 16.03 kB / 365.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.09085, allocations: 66.72 kB / 365.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.09101, allocations: 52.45 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.0913, allocations: 307.6 kB / 365.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.09133, allocations: 21.03 kB / 366 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.09137, allocations: 32.31 kB / 366 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.09194, allocations: 357.2 kB / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.09196, allocations: 0 / 366.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.09199, allocations: 12 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.09201, allocations: 8 kB / 366.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005467/0.09256, allocations: 282.4 kB / 366.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.09424, allocations: 1.284 MB / 367.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.0948, allocations: 307.8 kB / 368.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.09501, allocations: 104.8 kB / 368.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.09503, allocations: 0 / 368.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.09506, allocations: 38.56 kB / 368.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.09507, allocations: 0 / 368.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001969/0.09704, allocations: 0.6862 MB / 369 MB, free: 2.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.09708, allocations: 55.41 kB / 369.1 MB, free: 2.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.09736, allocations: 302.9 kB / 369.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.09739, allocations: 29.7 kB / 369.4 MB, free: 2.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.09751, allocations: 215.8 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.09755, allocations: 51.33 kB / 369.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.09759, allocations: 29.66 kB / 369.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.0977, allocations: 334.8 kB / 370 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.0979, allocations: 83.95 kB / 370.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.09814, allocations: 182 kB / 370.3 MB, free: 1.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.09857, allocations: 258.1 kB / 370.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.09858, allocations: 0 / 370.6 MB, free: 1.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009205/0.09951, allocations: 424.4 kB / 371 MB, free: 0.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.09953, allocations: 12 kB / 371 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09954, allocations: 4 kB / 371 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.09993, allocations: 108.8 kB / 371.1 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1001, allocations: 39.92 kB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1389/0.2389, allocations: 1.981 MB / 373.1 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.2392, allocations: 42.86 kB / 373.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.2392, allocations: 19.47 kB / 373.2 MB, free: 17.26 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.0001317/0.2394, allocations: 155.1 kB / 373.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.2394, allocations: 26.91 kB / 373.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.2395, allocations: 29.78 kB / 373.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2395, allocations: 5.156 kB / 373.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2395, allocations: 0.9375 kB / 373.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2395, allocations: 1.453 kB / 373.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.2406, allocations: 0.7419 MB / 374.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2406, allocations: 7.656 kB / 374.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.2407, allocations: 15.36 kB / 374.2 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.241, allocations: 105.4 kB / 374.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2411, allocations: 5.297 kB / 374.3 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.2431, allocations: 1.989 MB / 376.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2431, allocations: 0 / 376.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.2439, allocations: 433.9 kB / 376.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.244, allocations: 107.5 kB / 376.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.244, allocations: 7.344 kB / 376.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2442, allocations: 24.59 kB / 376.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.2443, allocations: 15.31 kB / 376.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2443, allocations: 4.234 kB / 376.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.2445, allocations: 216.1 kB / 377 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2445, allocations: 0 / 377 MB, free: 15.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.2449, allocations: 92.56 kB / 377.1 MB, free: 15.11 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.0009203/0.2458, allocations: 0.9546 MB / 378.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.2465, allocations: 347.1 kB / 378.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2465, allocations: 0.7031 kB / 378.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.2468, allocations: 233.5 kB / 378.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2472, allocations: 47.08 kB / 378.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.2511, allocations: 3.351 MB / 382 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2513, allocations: 0.7675 MB / 382.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.483e-05/0.2514, allocations: 26.33 kB / 382.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2515, allocations: 96.45 kB / 382.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2515, allocations: 0 / 382.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.268, allocations: 6.039 MB / 389 MB, free: 10.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.2682, allocations: 233.8 kB / 389.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.973, allocations: 0 / 389.2 MB, free: 10.15 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