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.001133/0.001133, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004851/0.3239, allocations: 3.216 MB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3256, allocations: 0.8102 MB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.326, allocations: 8 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3263, allocations: 55.38 kB / 412.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.3266, allocations: 111.1 kB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.3271, allocations: 135.8 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.3277, allocations: 450.2 kB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.328, allocations: 155.9 kB / 413.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.3284, allocations: 175.4 kB / 413.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.3288, allocations: 183.2 kB / 414.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3289, allocations: 40 kB / 414.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.3291, allocations: 48 kB / 414.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.3292, allocations: 87.69 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.3295, allocations: 191.1 kB / 414.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.33, allocations: 0.5117 MB / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3301, allocations: 0 / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3301, allocations: 0 / 414.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3301, 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.001368/0.3315, allocations: 0.6627 MB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3315, allocations: 11.97 kB / 415.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.973e-05/0.3316, allocations: 70.72 kB / 415.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.3318, allocations: 48.45 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.3323, allocations: 311.5 kB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3323, allocations: 29.03 kB / 416 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.3324, allocations: 28.38 kB / 416.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.3331, allocations: 357.1 kB / 416.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3331, allocations: 0 / 416.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.3331, allocations: 16 kB / 416.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3331, allocations: 8 kB / 416.4 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.3337, allocations: 270.5 kB / 416.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.3358, allocations: 1.26 MB / 418 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.3365, allocations: 299.7 kB / 418.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.3367, allocations: 92.81 kB / 418.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3368, allocations: 4 kB / 418.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3368, allocations: 38.55 kB / 418.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3368, allocations: 0 / 418.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002142/0.339, allocations: 0.6432 MB / 419 MB, free: 7.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.339, allocations: 55.41 kB / 419.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3393, allocations: 295 kB / 419.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3394, allocations: 29.7 kB / 419.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3395, allocations: 215.8 kB / 419.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3396, allocations: 51.2 kB / 419.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.3396, allocations: 49.7 kB / 419.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3398, allocations: 330.8 kB / 420 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.3401, allocations: 83.95 kB / 420.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3403, allocations: 162.2 kB / 420.3 MB, free: 5.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.3407, allocations: 252.9 kB / 420.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3408, allocations: 4 kB / 420.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009643/0.3417, allocations: 401.9 kB / 420.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.3418, allocations: 7.938 kB / 420.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3418, allocations: 7.938 kB / 420.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.3423, allocations: 104.8 kB / 421 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3424, allocations: 35.92 kB / 421.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.3457, allocations: 2.174 MB / 423.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.346, allocations: 35.67 kB / 423.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.346, allocations: 12 kB / 423.3 MB, free: 2.473 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.0001637/0.3462, allocations: 161.7 kB / 423.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.3462, allocations: 27.72 kB / 423.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.3463, allocations: 25.91 kB / 423.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3463, allocations: 7.938 kB / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3463, allocations: 0 / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3463, allocations: 0 / 423.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.3477, allocations: 0.7256 MB / 424.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3477, allocations: 3.984 kB / 424.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.3478, allocations: 12 kB / 424.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.3481, allocations: 108.7 kB / 424.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3481, allocations: 4 kB / 424.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.3511, allocations: 2.154 MB / 426.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3511, allocations: 0 / 426.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.352, allocations: 419.9 kB / 426.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.3521, allocations: 100.8 kB / 427 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.3521, allocations: 4 kB / 427 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3523, allocations: 23.98 kB / 427.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.3524, allocations: 27.91 kB / 427.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3524, allocations: 0 / 427.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.3527, allocations: 210 kB / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3527, allocations: 0 / 427.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.3532, allocations: 95.69 kB / 427.4 MB, free: 14.14 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.001203/0.3544, allocations: 0.9394 MB / 428.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.3552, allocations: 345.2 kB / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3552, allocations: 4 kB / 428.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.3556, allocations: 222.6 kB / 428.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.356, allocations: 37.44 kB / 428.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.361, allocations: 3.149 MB / 432.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3615, allocations: 0.7714 MB / 432.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3616, allocations: 26.52 kB / 432.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3617, allocations: 91.41 kB / 433 MB, free: 8.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.074e-06/0.3618, allocations: 0 / 433 MB, free: 8.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3893, allocations: 6.77 MB / 439.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 7.531 kB / 439.7 MB, free: 1.699 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