Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.84 kB / 306.4 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 50.54 MB / 356.9 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008642/0.1136, allocations: 7.842 MB / 364.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.1176, allocations: 1.89 MB / 366.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.1187, allocations: 23.94 kB / 366.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.1195, allocations: 182.6 kB / 366.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1209, allocations: 373.1 kB / 367.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1221, allocations: 447.6 kB / 367.6 MB, free: 3.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.1243, allocations: 1.7 MB / 369.3 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.1253, allocations: 0.5214 MB / 369.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.1262, allocations: 0.5563 MB / 370.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1706/0.2968, allocations: 0.6559 MB / 371.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004993/0.2973, allocations: 97.97 kB / 371.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.2977, allocations: 97.69 kB / 371.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.2979, allocations: 274.9 kB / 371.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.2987, allocations: 0.6996 MB / 372.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.3004, allocations: 1.958 MB / 374.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3004, allocations: 0 / 374.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3004, allocations: 0 / 374.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.3005, allocations: 1.156 kB / 374.2 MB, free: 10.15 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003325/0.3038, allocations: 1.783 MB / 376 MB, free: 9.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3038, allocations: 13.28 kB / 376 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.3041, allocations: 185.2 kB / 376.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.3044, allocations: 158.3 kB / 376.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.3053, allocations: 0.7338 MB / 377.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.3054, allocations: 94.67 kB / 377.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.3056, allocations: 127.4 kB / 377.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.3079, allocations: 1.309 MB / 378.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.308, allocations: 0 / 378.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3081, allocations: 52.39 kB / 378.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.3081, allocations: 29.5 kB / 378.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.3105, allocations: 1.12 MB / 379.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.3173, allocations: 4.996 MB / 384.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.3195, allocations: 1.209 MB / 386 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.3205, allocations: 0.5259 MB / 386.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/0.3205, allocations: 12.59 kB / 386.5 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3206, allocations: 45.31 kB / 386.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.825e-06/0.3206, allocations: 2.156 kB / 386.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.007837/0.3284, allocations: 2.933 MB / 389.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3285, allocations: 86.36 kB / 389.6 MB, free: 3.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.3295, allocations: 0.8101 MB / 390.4 MB, free: 2.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.3295, allocations: 38.27 kB / 390.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.3298, allocations: 0.5882 MB / 391 MB, free: 2.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.33, allocations: 280.6 kB / 391.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.3302, allocations: 177.8 kB / 391.5 MB, free: 1.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.3303, allocations: 342 kB / 391.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/0.3311, allocations: 366.6 kB / 392.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.332, allocations: 0.5797 MB / 392.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.3337, allocations: 0.9497 MB / 393.7 MB, free: 444 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-06/0.3337, allocations: 2.719 kB / 393.7 MB, free: 444 kB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002957/0.3367, allocations: 1.353 MB / 395.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3367, allocations: 15.88 kB / 395.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3367, allocations: 10.25 kB / 395.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/0.3376, allocations: 219.4 kB / 395.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.3408, allocations: 0.8344 MB / 396.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.3529, allocations: 10.02 MB / 406.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.3541, allocations: 138.1 kB / 406.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.3543, allocations: 36.47 kB / 406.3 MB, free: 6.199 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.3549, allocations: 273.8 kB / 406.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.3552, allocations: 101.2 kB / 406.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.3554, allocations: 111.1 kB / 406.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3554, allocations: 9.875 kB / 406.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3555, allocations: 2.781 kB / 406.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3555, allocations: 3.984 kB / 406.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/0.361, allocations: 2.459 MB / 409.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3611, allocations: 4 kB / 409.3 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.3616, allocations: 119.2 kB / 409.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.3629, allocations: 426 kB / 409.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.363, allocations: 16 kB / 409.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.3746, allocations: 9.957 MB / 419.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3747, allocations: 0 / 419.8 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.3794, allocations: 1.941 MB / 421.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.3799, allocations: 183.8 kB / 421.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.3801, allocations: 16 kB / 421.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/0.381, allocations: 99.86 kB / 422 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.3812, allocations: 72.22 kB / 422.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.3813, allocations: 20 kB / 422.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008698/0.3822, allocations: 0.5498 MB / 422.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3822, allocations: 0 / 422.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001843/0.384, allocations: 359 kB / 423 MB, free: 4.961 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * 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 (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004963/0.389, allocations: 2.521 MB / 425.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.3946, allocations: 1.982 MB / 427.5 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3946, allocations: 0 / 427.5 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.3964, allocations: 1.162 MB / 428.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.3979, allocations: 204.8 kB / 428.9 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.4164, allocations: 10.33 MB / 439.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/0.4172, allocations: 1.078 MB / 440.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.4178, allocations: 107.5 kB / 440.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.4183, allocations: 427.3 kB / 440.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.645e-06/0.4183, allocations: 0 / 440.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.4614, allocations: 22.53 MB / 463.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.4617, allocations: 250 kB / 463.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/2.769, allocations: 8.062 kB / 463.6 MB, free: 12.21 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches