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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001209/0.001209, allocations: 118.2 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.001174/0.001174, allocations: 198 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.536/1.536, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3513, allocations: 50.55 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01306/0.3644, allocations: 7.879 MB / 417.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007037/0.3715, allocations: 1.905 MB / 419.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.3737, allocations: 31.88 kB / 419.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3751, allocations: 229.7 kB / 419.3 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.3777, allocations: 448.2 kB / 419.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.3797, allocations: 0.4955 MB / 420.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.3836, allocations: 1.794 MB / 422.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3853, allocations: 0.6091 MB / 422.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.387, allocations: 0.6383 MB / 423.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.3889, allocations: 0.7194 MB / 424 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.3896, allocations: 176 kB / 424.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008169/0.3904, allocations: 180 kB / 424.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007374/0.3912, allocations: 354.8 kB / 424.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.393, allocations: 0.7775 MB / 425.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.3972, allocations: 2.054 MB / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3973, allocations: 0 / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3973, allocations: 0 / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.3974, allocations: 4 kB / 427.6 MB, free: 15.2 MB / 350.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.006012/0.4034, allocations: 1.819 MB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.4035, allocations: 8.031 kB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.404, allocations: 164 kB / 429.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.4058, allocations: 0.7614 MB / 430.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.406, allocations: 102.3 kB / 430.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.4062, allocations: 116 kB / 430.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.4098, allocations: 1.316 MB / 431.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.4098, allocations: 0 / 431.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.41, allocations: 55.94 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.41, allocations: 32 kB / 431.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.4138, allocations: 1.122 MB / 433 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.4257, allocations: 4.954 MB / 438 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.4298, allocations: 1.227 MB / 439.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.4315, allocations: 0.5215 MB / 439.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.4317, allocations: 12.66 kB / 439.8 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/0.4317, allocations: 51.16 kB / 439.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 5.421e-06/0.4318, allocations: 0 / 439.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.01379/0.4456, allocations: 2.937 MB / 442.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.4457, allocations: 85.77 kB / 442.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.4485, allocations: 0.8059 MB / 443.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.4487, allocations: 41.7 kB / 443.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009108/0.4496, allocations: 0.6091 MB / 444.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/0.4501, allocations: 293.5 kB / 444.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/0.4507, allocations: 170.6 kB / 444.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000245/0.451, allocations: 345.9 kB / 445.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4526, allocations: 365.8 kB / 445.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.4545, allocations: 0.5816 MB / 446 MB, free: 12.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.4575, allocations: 0.9481 MB / 447 MB, free: 10.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/0.4575, allocations: 4 kB / 447 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004898/0.4624, allocations: 1.358 MB / 448.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.4625, allocations: 8.312 kB / 448.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.4625, allocations: 12 kB / 448.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4637, allocations: 230.3 kB / 448.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/0.4689, allocations: 0.835 MB / 449.4 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.4891, allocations: 10.84 MB / 460.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.4908, allocations: 155.1 kB / 460.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4909, allocations: 36 kB / 460.4 MB, free: 12.66 MB / 382.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.0007733/0.4917, allocations: 273.5 kB / 460.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.492, allocations: 107.3 kB / 460.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4923, allocations: 108.8 kB / 460.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.4923, allocations: 8 kB / 460.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.4924, allocations: 4 kB / 460.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.4924, allocations: 7.922 kB / 460.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008281/0.5007, allocations: 2.46 MB / 463.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5007, allocations: 0 / 463.4 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/0.5016, allocations: 119.9 kB / 463.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/0.5039, allocations: 440.8 kB / 463.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.866e-05/0.504, allocations: 12 kB / 463.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/0.5245, allocations: 10.9 MB / 474.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.5246, allocations: 8.094 kB / 474.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007799/0.5324, allocations: 1.937 MB / 476.8 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007703/0.5332, allocations: 192.3 kB / 477 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.5334, allocations: 16 kB / 477 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.5347, allocations: 107.8 kB / 477.1 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.535, allocations: 60.42 kB / 477.1 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.902e-05/0.5351, allocations: 31.98 kB / 477.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.5364, allocations: 0.542 MB / 477.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5364, allocations: 0 / 477.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002234/0.5386, allocations: 367.2 kB / 478.1 MB, free: 9.98 MB / 398.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.0003214/0.539, allocations: 130.6 kB / 478.2 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00948/0.5485, allocations: 1.995 MB / 480.2 MB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.5485, allocations: 4 kB / 480.2 MB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.5512, allocations: 1.164 MB / 481.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.5531, allocations: 206.8 kB / 481.6 MB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.5611, allocations: 2.325 MB / 483.9 MB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.5622, allocations: 1.078 MB / 485 MB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006965/0.5629, allocations: 99.5 kB / 485.1 MB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5631, allocations: 59.38 kB / 485.1 MB, free: 2.738 MB / 398.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5631, allocations: 4 kB / 485.1 MB, free: 2.734 MB / 398.1 MB Notification: Performance of Templates: time 0.03092/0.5941, allocations: 14.61 MB / 499.7 MB, free: 4.238 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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