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.001287/0.001287, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001782, allocations: 59.91 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 50.54 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005119/0.259, allocations: 3.205 MB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2609, allocations: 0.8179 MB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003976/0.2613, allocations: 4 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.2617, allocations: 63.42 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.2622, allocations: 111 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2627, allocations: 135.8 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.2635, allocations: 442.2 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.2638, allocations: 159.8 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.2643, allocations: 171.3 kB / 413.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.2647, allocations: 179.2 kB / 414.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.2648, allocations: 44 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2649, allocations: 52 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.265, allocations: 87.62 kB / 414.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2653, allocations: 195.1 kB / 414.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.266, allocations: 0.501 MB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.266, allocations: 7.984 kB / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.266, allocations: 0 / 414.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.266, allocations: 0 / 414.9 MB, free: 11.33 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.001286/0.2673, allocations: 0.6701 MB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.2674, allocations: 12.03 kB / 415.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.2675, allocations: 70.66 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2677, allocations: 52.69 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.2682, allocations: 315.7 kB / 416 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.2682, allocations: 21.03 kB / 416.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.057e-05/0.2683, allocations: 32.38 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.269, allocations: 349.1 kB / 416.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.269, allocations: 4 kB / 416.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.2691, allocations: 15.98 kB / 416.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2691, allocations: 8 kB / 416.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.2697, allocations: 266.5 kB / 416.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.2719, allocations: 1.264 MB / 418 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.2726, allocations: 299.7 kB / 418.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.2728, allocations: 100.8 kB / 418.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2728, allocations: 0 / 418.4 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2729, allocations: 38.56 kB / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.2729, allocations: 0 / 418.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002083/0.275, allocations: 0.6396 MB / 419.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.275, allocations: 55.34 kB / 419.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.2754, allocations: 299 kB / 419.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.2755, allocations: 29.7 kB / 419.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.2756, allocations: 216.3 kB / 419.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.2757, allocations: 55.53 kB / 419.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.2758, allocations: 57.59 kB / 419.8 MB, free: 6.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.276, allocations: 338.8 kB / 420.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2762, allocations: 75.95 kB / 420.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.2765, allocations: 162.2 kB / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.2769, allocations: 242.1 kB / 420.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2769, allocations: 0 / 420.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009756/0.2779, allocations: 410 kB / 421 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.2779, allocations: 14.28 kB / 421 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.278, allocations: 0 / 421 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.2784, allocations: 108.8 kB / 421.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2786, allocations: 43.92 kB / 421.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.2817, allocations: 2.177 MB / 423.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2819, allocations: 39.84 kB / 423.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2819, allocations: 8 kB / 423.3 MB, free: 2.398 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.0001745/0.2821, allocations: 161.3 kB / 423.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.2822, allocations: 27.8 kB / 423.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.2822, allocations: 29.91 kB / 423.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2822, allocations: 3.938 kB / 423.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2822, allocations: 0 / 423.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2823, allocations: 4 kB / 423.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2835, allocations: 0.7251 MB / 424.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2835, allocations: 0 / 424.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.2836, allocations: 19.91 kB / 424.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.2839, allocations: 104.7 kB / 424.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.284, allocations: 4 kB / 424.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.2868, allocations: 2.159 MB / 426.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2868, allocations: 3.984 kB / 426.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.2876, allocations: 408.5 kB / 427 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.2877, allocations: 104.9 kB / 427.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.2878, allocations: 4 kB / 427.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.288, allocations: 19.98 kB / 427.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.288, allocations: 23.86 kB / 427.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.2881, allocations: 8 kB / 427.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.2883, allocations: 217.9 kB / 427.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2883, allocations: 0 / 427.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.2888, allocations: 79.89 kB / 427.4 MB, free: 14.07 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.001169/0.2899, allocations: 0.9433 MB / 428.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.2907, allocations: 354.4 kB / 428.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2907, allocations: 0 / 428.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.2911, allocations: 234.2 kB / 428.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2915, allocations: 36.88 kB / 429 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.2963, allocations: 3.161 MB / 432.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.2967, allocations: 0.7675 MB / 432.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.817e-05/0.2968, allocations: 26.28 kB / 432.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2969, allocations: 99.39 kB / 433 MB, free: 8.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2969, allocations: 0 / 433 MB, free: 8.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3319, allocations: 6.618 MB / 439.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.91, allocations: 14.8 kB / 439.7 MB, free: 1.742 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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