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.001532/0.001532, allocations: 102.5 kB / 17.05 MB, free: 6.125 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.001826/0.001826, allocations: 194.9 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3972, allocations: 49.44 MB / 400.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01117/0.4084, allocations: 7.874 MB / 408.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.4135, allocations: 1.858 MB / 410.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.4152, allocations: 27.94 kB / 410.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006677/0.4159, allocations: 237.6 kB / 410.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.4172, allocations: 456.2 kB / 411.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.4183, allocations: 0.5032 MB / 411.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.4205, allocations: 1.798 MB / 413.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.4213, allocations: 0.6091 MB / 414.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.4222, allocations: 0.6344 MB / 414.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008279/0.4231, allocations: 0.7195 MB / 415.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.4233, allocations: 180 kB / 415.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.4236, allocations: 180 kB / 415.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002812/0.4239, allocations: 358.7 kB / 416.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000723/0.4246, allocations: 0.7737 MB / 416.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.4264, allocations: 2.045 MB / 419 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4264, allocations: 0 / 419 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4264, allocations: 0 / 419 MB, free: 6.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.4265, allocations: 0 / 419 MB, free: 6.578 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003447/0.4299, allocations: 1.789 MB / 420.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.43, allocations: 8.031 kB / 420.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.4303, allocations: 159.1 kB / 420.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4316, allocations: 0.753 MB / 421.7 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.4317, allocations: 94.39 kB / 421.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.4319, allocations: 123.9 kB / 421.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.4346, allocations: 1.312 MB / 423.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.4347, allocations: 3.938 kB / 423.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.4348, allocations: 52 kB / 423.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.4348, allocations: 35.98 kB / 423.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.4375, allocations: 1.118 MB / 424.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009087/0.4466, allocations: 4.949 MB / 429.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.4493, allocations: 1.208 MB / 430.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.4507, allocations: 0.5293 MB / 431.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.4508, allocations: 8.656 kB / 431.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.237e-05/0.4509, allocations: 51.16 kB / 431.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.857e-06/0.4509, allocations: 4 kB / 431.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.009838/0.4607, allocations: 2.932 MB / 434.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.4609, allocations: 97.69 kB / 434.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.4626, allocations: 0.802 MB / 435 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.4628, allocations: 41.7 kB / 435 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.4633, allocations: 0.5881 MB / 435.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.4637, allocations: 280 kB / 435.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.464, allocations: 162.6 kB / 436.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4642, allocations: 345.9 kB / 436.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000935/0.4652, allocations: 373.8 kB / 436.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4662, allocations: 0.5856 MB / 437.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.4683, allocations: 0.9481 MB / 438.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.4684, allocations: 4 kB / 438.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003788/0.4721, allocations: 1.361 MB / 439.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/0.4722, allocations: 8 kB / 439.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.4722, allocations: 8 kB / 439.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4733, allocations: 226.7 kB / 439.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/0.4773, allocations: 0.835 MB / 440.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/0.4936, allocations: 10.84 MB / 451.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4949, allocations: 146.8 kB / 451.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/0.4952, allocations: 36 kB / 451.8 MB, free: 4.117 MB / 366.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.0008171/0.496, allocations: 275.2 kB / 452 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.4964, allocations: 102.8 kB / 452.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.4966, allocations: 104.8 kB / 452.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.4966, allocations: 8 kB / 452.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.4967, allocations: 4 kB / 452.2 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4967, allocations: 11.97 kB / 452.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.5026, allocations: 2.456 MB / 454.7 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.5026, allocations: 4 kB / 454.7 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.5032, allocations: 123.9 kB / 454.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.5048, allocations: 424.7 kB / 455.2 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.5049, allocations: 16 kB / 455.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.5184, allocations: 10.89 MB / 466.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5184, allocations: 0 / 466.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005052/0.5235, allocations: 1.936 MB / 468.1 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.5239, allocations: 187.8 kB / 468.3 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.5241, allocations: 20 kB / 468.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/0.525, allocations: 103.8 kB / 468.4 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.5252, allocations: 64.42 kB / 468.5 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.5253, allocations: 27.97 kB / 468.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007978/0.5261, allocations: 0.5498 MB / 469 MB, free: 1.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5261, allocations: 4 kB / 469 MB, free: 1.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00145/0.5276, allocations: 362.9 kB / 469.4 MB, free: 1.469 MB / 382.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.0002416/0.5278, allocations: 133.4 kB / 469.5 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006294/0.5341, allocations: 1.991 MB / 471.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.5342, allocations: 4 kB / 471.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.536, allocations: 1.155 MB / 472.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.5375, allocations: 198.5 kB / 472.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.5427, allocations: 2.315 MB / 475.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008313/0.5436, allocations: 1.07 MB / 476.2 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005704/0.5442, allocations: 99.5 kB / 476.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.5444, allocations: 59.44 kB / 476.4 MB, free: 10.26 MB / 398.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5444, allocations: 0 / 476.4 MB, free: 10.26 MB / 398.1 MB Notification: Performance of Templates: time 0.03517/0.5796, allocations: 14.63 MB / 491 MB, free: 11.75 MB / 414.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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches