Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.125/2.125, allocations: 222.9 MB / 241.8 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 53.17 kB / 300.6 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1595, allocations: 49.44 MB / 350.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01232/0.172, allocations: 7.837 MB / 357.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.178, allocations: 1.847 MB / 359.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.1803, allocations: 27.88 kB / 359.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1816, allocations: 178.6 kB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.1844, allocations: 381.1 kB / 360.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.1861, allocations: 451.6 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.1903, allocations: 1.693 MB / 362.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.1917, allocations: 0.5214 MB / 363 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.1931, allocations: 0.5524 MB / 363.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1944, allocations: 0.6687 MB / 364.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.1947, allocations: 100 kB / 364.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1951, allocations: 96 kB / 364.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.1955, allocations: 274.7 kB / 364.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.1966, allocations: 0.6955 MB / 365.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002108/0.1987, allocations: 1.633 MB / 367 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1987, allocations: 0 / 367 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1988, allocations: 4 kB / 367 MB, free: 3.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.798e-05/0.1988, allocations: 0 / 367 MB, free: 3.777 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.005401/0.2042, allocations: 1.781 MB / 368.8 MB, free: 1.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.2043, allocations: 8.031 kB / 368.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.2047, allocations: 155.2 kB / 368.9 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2063, allocations: 0.7373 MB / 369.7 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2064, allocations: 98.38 kB / 369.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.2066, allocations: 120 kB / 369.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3019/0.5086, allocations: 1.31 MB / 371.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.5087, allocations: 1.156 kB / 371.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.5089, allocations: 52.97 kB / 371.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.509, allocations: 34.34 kB / 371.3 MB, free: 24.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/0.5135, allocations: 1.116 MB / 372.4 MB, free: 24.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.5263, allocations: 4.981 MB / 377.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.5299, allocations: 1.217 MB / 378.6 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.5317, allocations: 0.5239 MB / 379.1 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/0.5318, allocations: 9.859 kB / 379.1 MB, free: 20.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.5318, allocations: 45.09 kB / 379.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 4.268e-06/0.5318, allocations: 0 / 379.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01245/0.5443, allocations: 2.933 MB / 382.1 MB, free: 19.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.5444, allocations: 87.39 kB / 382.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.5464, allocations: 0.8098 MB / 383 MB, free: 19.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5466, allocations: 42.23 kB / 383 MB, free: 19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.5471, allocations: 0.5933 MB / 383.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.5475, allocations: 275 kB / 383.9 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.5479, allocations: 173.7 kB / 384.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.548, allocations: 342.6 kB / 384.4 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5495, allocations: 366.8 kB / 384.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.5509, allocations: 0.5812 MB / 385.3 MB, free: 17.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.5534, allocations: 0.9506 MB / 386.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.5535, allocations: 6.438 kB / 386.3 MB, free: 16.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004926/0.5584, allocations: 1.356 MB / 387.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.5585, allocations: 15.22 kB / 387.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.5585, allocations: 6.094 kB / 387.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.5597, allocations: 222.2 kB / 387.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/0.5645, allocations: 0.8302 MB / 388.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.5794, allocations: 10.01 MB / 398.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.581, allocations: 142.8 kB / 398.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.5812, allocations: 43.42 kB / 398.9 MB, free: 6.531 MB / 302.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.0007198/0.5819, allocations: 276.9 kB / 399.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.5822, allocations: 96.31 kB / 399.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.5825, allocations: 117.6 kB / 399.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.5825, allocations: 7.875 kB / 399.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.256e-05/0.5825, allocations: 3.938 kB / 399.4 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5825, allocations: 3.984 kB / 399.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.5891, allocations: 2.456 MB / 401.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.5892, allocations: 0 / 401.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.59, allocations: 118.6 kB / 402 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.5917, allocations: 432.6 kB / 402.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-05/0.5918, allocations: 12 kB / 402.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.6072, allocations: 9.958 MB / 412.4 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.6073, allocations: 3.938 kB / 412.4 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007102/0.6144, allocations: 1.938 MB / 414.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.615, allocations: 191.7 kB / 414.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6152, allocations: 19.98 kB / 414.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6163, allocations: 103.9 kB / 414.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.6166, allocations: 69.53 kB / 414.7 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.6167, allocations: 20 kB / 414.7 MB, free: 7.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.6178, allocations: 0.5498 MB / 415.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6178, allocations: 0 / 415.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002048/0.6199, allocations: 359 kB / 415.6 MB, free: 6.227 MB / 318.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.0003161/0.6202, allocations: 127.2 kB / 415.7 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.008292/0.6285, allocations: 1.984 MB / 417.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.6286, allocations: 0 / 417.7 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.6311, allocations: 1.153 MB / 418.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.6332, allocations: 187.8 kB / 419.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.641, allocations: 2.87 MB / 421.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.6421, allocations: 1.078 MB / 423 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.6425, allocations: 59.44 kB / 423.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6425, allocations: 0 / 423.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.06445/0.707, allocations: 43.05 MB / 466.1 MB, free: 3.543 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches