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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001509, allocations: 104 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 35.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2699, allocations: 49.45 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008826/0.2788, allocations: 7.828 MB / 407.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.2838, allocations: 1.854 MB / 409.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.2857, allocations: 27.94 kB / 409.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.2869, allocations: 170.6 kB / 409.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2885, allocations: 385.1 kB / 409.7 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2895, allocations: 447.6 kB / 410.2 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.2913, allocations: 1.704 MB / 411.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007682/0.2921, allocations: 0.5331 MB / 412.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.2927, allocations: 0.5601 MB / 413 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.2932, allocations: 0.6648 MB / 413.6 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2934, allocations: 103.9 kB / 413.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2936, allocations: 96 kB / 413.8 MB, free: 18.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2938, allocations: 270.8 kB / 414.1 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.2943, allocations: 0.6994 MB / 414.8 MB, free: 17.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2956, allocations: 1.956 MB / 416.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.2956, allocations: 0 / 416.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2956, allocations: 0 / 416.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.2957, allocations: 0 / 416.8 MB, free: 16.01 MB / 298.7 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.003234/0.2989, allocations: 1.789 MB / 418.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.299, allocations: 8.031 kB / 418.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.2992, allocations: 159.1 kB / 418.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.3002, allocations: 0.7296 MB / 419.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.833e-05/0.3002, allocations: 94.39 kB / 419.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3004, allocations: 120 kB / 419.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.3025, allocations: 1.316 MB / 421 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.3026, allocations: 0 / 421 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.3027, allocations: 55.94 kB / 421 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3027, allocations: 28 kB / 421 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.3049, allocations: 1.118 MB / 422.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006561/0.3114, allocations: 4.988 MB / 427.2 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.3136, allocations: 1.213 MB / 428.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009721/0.3146, allocations: 0.5256 MB / 428.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.583e-05/0.3147, allocations: 16.64 kB / 428.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3148, allocations: 43.22 kB / 428.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 3.307e-06/0.3148, allocations: 0 / 428.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=79): time 0.008076/0.3228, allocations: 2.928 MB / 431.9 MB, free: 316 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3229, allocations: 89.77 kB / 432 MB, free: 208 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3241, allocations: 0.8059 MB / 432.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.3241, allocations: 37.7 kB / 432.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.3246, allocations: 0.592 MB / 433.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.3248, allocations: 279.9 kB / 433.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.3251, allocations: 174.5 kB / 433.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3252, allocations: 345.9 kB / 434.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008887/0.3261, allocations: 365.8 kB / 434.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.3272, allocations: 0.5856 MB / 435.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.3291, allocations: 0.952 MB / 436.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.3292, allocations: 4 kB / 436.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003311/0.3325, allocations: 1.354 MB / 437.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3325, allocations: 8.312 kB / 437.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3325, allocations: 12 kB / 437.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.3334, allocations: 226.3 kB / 437.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/0.3371, allocations: 0.8311 MB / 438.5 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.3501, allocations: 10.01 MB / 448.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3513, allocations: 139 kB / 448.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.3514, allocations: 40 kB / 448.7 MB, free: 14.43 MB / 330.7 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.0005924/0.352, allocations: 281.5 kB / 449 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3522, allocations: 98.78 kB / 449.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.3524, allocations: 104.9 kB / 449.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3524, allocations: 12 kB / 449.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.3524, allocations: 0 / 449.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3525, allocations: 11.92 kB / 449.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.3576, allocations: 2.459 MB / 451.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.3577, allocations: 8 kB / 451.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.3582, allocations: 115.9 kB / 451.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.3596, allocations: 428.8 kB / 452.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.3596, allocations: 20 kB / 452.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.3716, allocations: 9.949 MB / 462.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3716, allocations: 3.938 kB / 462.2 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03138/0.403, allocations: 18.1 MB / 480.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/0.4033, allocations: 191.8 kB / 480.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.4034, allocations: 16 kB / 480.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.4042, allocations: 103.9 kB / 480.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.4044, allocations: 64.41 kB / 480.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.4045, allocations: 24 kB / 480.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007759/0.4053, allocations: 0.5459 MB / 481.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4053, allocations: 4 kB / 481.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002053/0.4074, allocations: 483 kB / 481.7 MB, free: 11.48 MB / 362.7 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.0002532/0.4077, allocations: 135.1 kB / 481.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006099/0.4138, allocations: 1.986 MB / 483.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.4138, allocations: 4 kB / 483.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.4154, allocations: 1.16 MB / 485 MB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4167, allocations: 205.3 kB / 485.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.4231, allocations: 4.054 MB / 489.2 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.4238, allocations: 1.104 MB / 490.3 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.4244, allocations: 107.5 kB / 490.4 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.4246, allocations: 59.44 kB / 490.5 MB, free: 2.383 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4246, allocations: 0 / 490.5 MB, free: 2.383 MB / 362.7 MB Notification: Performance of Templates: time 0.03321/0.4578, allocations: 16.79 MB / 0.4954 GB, free: 1.707 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches