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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 195.1 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 51.92 kB / 370.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3215, allocations: 52.17 MB / 423.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008874/0.3304, allocations: 6.855 MB / 430 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.3345, allocations: 1.843 MB / 431.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.3353, allocations: 31.81 kB / 431.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006812/0.336, allocations: 237.7 kB / 432.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.3372, allocations: 460.2 kB / 432.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3385, allocations: 0.5033 MB / 433 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.3406, allocations: 1.802 MB / 434.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.3414, allocations: 410.9 kB / 435.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007936/0.3422, allocations: 0.6578 MB / 435.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007469/0.343, allocations: 0.6219 MB / 436.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.3432, allocations: 176 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.3435, allocations: 180 kB / 436.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.3438, allocations: 362.7 kB / 437.2 MB, free: 264 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.3444, allocations: 0.6301 MB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.3467, allocations: 2.066 MB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3467, allocations: 4 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.3467, allocations: 4 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.3468, allocations: 0 / 439.9 MB, free: 13.55 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.003736/0.3505, allocations: 1.748 MB / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3506, allocations: 12.03 kB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.3509, allocations: 168 kB / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.3523, allocations: 0.697 MB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.3524, allocations: 98.39 kB / 442.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.3526, allocations: 120 kB / 442.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.3555, allocations: 1.635 MB / 444.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.3556, allocations: 3.938 kB / 444.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3557, allocations: 52 kB / 444.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.3558, allocations: 32 kB / 444.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.3585, allocations: 1.114 MB / 445.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008406/0.3669, allocations: 4.229 MB / 449.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.3693, allocations: 0.9989 MB / 450.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3705, allocations: 486.1 kB / 451.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.3705, allocations: 12.66 kB / 451.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.3706, allocations: 47.16 kB / 451.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 4.329e-06/0.3706, allocations: 0 / 451.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008767/0.3794, allocations: 2.469 MB / 453.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3794, allocations: 85.77 kB / 453.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3807, allocations: 0.7583 MB / 454.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/0.3808, allocations: 37.7 kB / 454.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.3813, allocations: 0.6131 MB / 455.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.3816, allocations: 289.4 kB / 455.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3819, allocations: 170.6 kB / 455.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.3821, allocations: 398.7 kB / 456.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/0.3829, allocations: 365.8 kB / 456.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.384, allocations: 0.5894 MB / 457.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.386, allocations: 0.952 MB / 458 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.386, allocations: 7.875 kB / 458 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003371/0.3894, allocations: 1.346 MB / 459.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.3894, allocations: 11.94 kB / 459.4 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3894, allocations: 8 kB / 459.4 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008321/0.3902, allocations: 218.7 kB / 459.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/0.3939, allocations: 0.8311 MB / 460.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/0.4082, allocations: 10.05 MB / 470.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.4093, allocations: 135.3 kB / 470.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.4094, allocations: 43.98 kB / 470.7 MB, free: 13.45 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.0005919/0.41, allocations: 277.4 kB / 470.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.4102, allocations: 99.39 kB / 471 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.4103, allocations: 104.1 kB / 471.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.4104, allocations: 8 kB / 471.2 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.4104, allocations: 4 kB / 471.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4104, allocations: 3.984 kB / 471.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005143/0.4155, allocations: 2.13 MB / 473.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4155, allocations: 4 kB / 473.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.4161, allocations: 119.9 kB / 473.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.4175, allocations: 428.8 kB / 473.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.4176, allocations: 16 kB / 473.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/0.4308, allocations: 10.09 MB / 483.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.4308, allocations: 3.938 kB / 483.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.4362, allocations: 1.929 MB / 485.9 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4367, allocations: 107.2 kB / 486 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.4368, allocations: 23.98 kB / 486 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.4375, allocations: 95.92 kB / 486.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.4377, allocations: 72.47 kB / 486.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.4378, allocations: 23.94 kB / 486.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007374/0.4385, allocations: 0.499 MB / 486.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4385, allocations: 3.938 kB / 486.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001733/0.4402, allocations: 371.2 kB / 487.1 MB, free: 12.33 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.0003474/0.4406, allocations: 127.8 kB / 487.2 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006404/0.447, allocations: 1.944 MB / 489.1 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.447, allocations: 4 kB / 489.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.4489, allocations: 1.141 MB / 490.3 MB, free: 8.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.4501, allocations: 183.8 kB / 490.4 MB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/0.4554, allocations: 2.321 MB / 492.8 MB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.456, allocations: 495.9 kB / 493.2 MB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.4565, allocations: 98.86 kB / 493.3 MB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.4567, allocations: 55.44 kB / 493.4 MB, free: 5.781 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4567, allocations: 0 / 493.4 MB, free: 5.781 MB / 398.1 MB Notification: Performance of Templates: time 0.03082/0.4875, allocations: 14.81 MB / 0.4963 GB, free: 7.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.30940530821681]