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.001415/0.001415, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.00199, allocations: 67.62 kB / 307 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1221, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01034/0.1325, allocations: 7.881 MB / 365.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.1371, allocations: 1.909 MB / 367.3 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.1384, allocations: 27.94 kB / 367.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.1391, allocations: 233.7 kB / 367.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1405, allocations: 440.2 kB / 368 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1418, allocations: 0.4955 MB / 368.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.1441, allocations: 1.794 MB / 370.3 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.145, allocations: 0.613 MB / 370.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1876/0.3326, allocations: 0.6295 MB / 371.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3338, allocations: 0.7202 MB / 372.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.3344, allocations: 178.4 kB / 372.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.3347, allocations: 179.3 kB / 372.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.335, allocations: 355.5 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.3358, allocations: 0.773 MB / 373.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.3384, allocations: 2.027 MB / 375.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3384, allocations: 4.047 kB / 375.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3384, allocations: 0 / 375.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.64e-05/0.3384, allocations: 4.438 kB / 375.8 MB, free: 9.676 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.003746/0.3422, allocations: 1.775 MB / 377.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3422, allocations: 10.14 kB / 377.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.3426, allocations: 165.8 kB / 377.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3436, allocations: 0.7307 MB / 378.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.3437, allocations: 89.8 kB / 378.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3439, allocations: 121.1 kB / 378.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.3463, allocations: 1.317 MB / 380 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.3464, allocations: 3.562 kB / 380 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3465, allocations: 54.78 kB / 380 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3466, allocations: 29.72 kB / 380.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.349, allocations: 1.119 MB / 381.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/0.3563, allocations: 4.991 MB / 386.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.3587, allocations: 1.207 MB / 387.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.3597, allocations: 0.5249 MB / 387.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.3598, allocations: 14.8 kB / 387.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3598, allocations: 47.59 kB / 388 MB, free: 4.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.414e-06/0.3598, allocations: 0.9375 kB / 388 MB, free: 4.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.009818/0.3696, allocations: 2.93 MB / 390.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3697, allocations: 86.11 kB / 391 MB, free: 2.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.3712, allocations: 0.8109 MB / 391.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.3713, allocations: 41.83 kB / 391.8 MB, free: 2.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.3717, allocations: 0.5885 MB / 392.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.372, allocations: 280 kB / 392.7 MB, free: 1.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.3723, allocations: 169.9 kB / 392.9 MB, free: 1.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.3724, allocations: 342.2 kB / 393.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008339/0.3732, allocations: 366.5 kB / 393.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009385/0.3741, allocations: 0.5835 MB / 394.1 MB, free: 320 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.3761, allocations: 0.9574 MB / 395.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3761, allocations: 2.25 kB / 395.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003587/0.3797, allocations: 1.35 MB / 396.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.3797, allocations: 14.36 kB / 396.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.3797, allocations: 8.875 kB / 396.5 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008476/0.3806, allocations: 223.7 kB / 396.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/0.3841, allocations: 0.832 MB / 397.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.3989, allocations: 10.86 MB / 408.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4003, allocations: 138.8 kB / 408.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.4004, allocations: 36 kB / 408.5 MB, free: 4.254 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.0006405/0.4011, allocations: 275 kB / 408.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.4013, allocations: 102.9 kB / 408.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4015, allocations: 104.9 kB / 409 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4016, allocations: 12 kB / 409 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.4016, allocations: 6.562 kB / 409 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4016, allocations: 3.984 kB / 409 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/0.407, allocations: 2.448 MB / 411.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4071, allocations: 4.062 kB / 411.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.4076, allocations: 121.3 kB / 411.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.4091, allocations: 432.4 kB / 412 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-05/0.4091, allocations: 19.98 kB / 412.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/0.4232, allocations: 10.9 MB / 422.9 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4232, allocations: 4.031 kB / 423 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.4284, allocations: 1.937 MB / 424.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.4289, allocations: 183.8 kB / 425.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.4291, allocations: 23.98 kB / 425.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.4299, allocations: 103.9 kB / 425.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.4301, allocations: 56.42 kB / 425.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.4301, allocations: 31.98 kB / 425.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007719/0.4309, allocations: 0.542 MB / 425.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4309, allocations: 4 kB / 425.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001357/0.4323, allocations: 359 kB / 426.2 MB, free: 1.73 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.0002233/0.4325, allocations: 129.6 kB / 426.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.4392, allocations: 2.014 MB / 428.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.4393, allocations: 4 kB / 428.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.4413, allocations: 1.17 MB / 429.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.4429, allocations: 210.3 kB / 429.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.4481, allocations: 2.327 MB / 432 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/0.449, allocations: 1.074 MB / 433.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000526/0.4495, allocations: 99.48 kB / 433.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4497, allocations: 59.44 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4497, allocations: 0 / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Templates: time 0.02698/0.4767, allocations: 14.36 MB / 447.6 MB, free: 12.35 MB / 366.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.1.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