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.001122/0.001122, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.00113/0.00113, allocations: 188.5 kB / 18.67 MB, free: 4.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 1.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 51.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2797, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008526/0.2883, allocations: 7.883 MB / 409.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2922, allocations: 1.858 MB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.2935, allocations: 23.94 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.2944, allocations: 237.7 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.296, allocations: 440.2 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2973, allocations: 0.4994 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.3001, allocations: 1.798 MB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.3012, allocations: 0.6013 MB / 414.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3024, allocations: 0.6461 MB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3036, allocations: 0.7195 MB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000445/0.3041, allocations: 180 kB / 416.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.3046, allocations: 176 kB / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000385/0.305, allocations: 358.8 kB / 416.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008126/0.3058, allocations: 0.7775 MB / 417.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.3077, allocations: 2.049 MB / 419.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3077, allocations: 0 / 419.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3077, allocations: 0 / 419.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.3077, allocations: 0 / 419.7 MB, free: 6.539 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.003334/0.311, allocations: 1.789 MB / 421.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3111, allocations: 8.031 kB / 421.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.3113, allocations: 159.1 kB / 421.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3125, allocations: 0.753 MB / 422.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.3125, allocations: 94.39 kB / 422.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.3127, allocations: 124 kB / 422.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3152, allocations: 1.312 MB / 423.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.3152, allocations: 0 / 423.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3153, allocations: 52 kB / 423.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3153, allocations: 28 kB / 424 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.3178, allocations: 1.118 MB / 425.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007651/0.3255, allocations: 4.956 MB / 430 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.3279, allocations: 1.204 MB / 431.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3291, allocations: 0.5293 MB / 431.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.3291, allocations: 8.656 kB / 431.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.3292, allocations: 43.22 kB / 431.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.695e-06/0.3292, allocations: 0 / 431.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008662/0.3379, allocations: 2.94 MB / 434.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.338, allocations: 85.77 kB / 434.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.3393, allocations: 0.8098 MB / 435.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.3394, allocations: 41.7 kB / 435.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/0.3399, allocations: 0.5997 MB / 436.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.3402, allocations: 272 kB / 436.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.3404, allocations: 170.6 kB / 436.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3406, allocations: 345.9 kB / 437.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.3415, allocations: 369.8 kB / 437.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.3426, allocations: 0.5817 MB / 438 MB, free: 3.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.3446, allocations: 0.9559 MB / 439 MB, free: 2.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.3447, allocations: 4 kB / 439 MB, free: 2.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00336/0.348, allocations: 1.357 MB / 440.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3481, allocations: 8 kB / 440.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3481, allocations: 8 kB / 440.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008935/0.349, allocations: 230.6 kB / 440.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.3527, allocations: 0.8272 MB / 441.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.367, allocations: 10.85 MB / 452.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.3682, allocations: 146.9 kB / 452.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.3684, allocations: 39.98 kB / 452.4 MB, free: 4.078 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.0006901/0.3691, allocations: 273.6 kB / 452.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.3694, allocations: 94.88 kB / 452.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3696, allocations: 112.8 kB / 452.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3696, allocations: 8 kB / 452.9 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3696, allocations: 0 / 452.9 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3697, allocations: 7.984 kB / 452.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.3751, allocations: 2.456 MB / 455.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3751, allocations: 4 kB / 455.4 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.3756, allocations: 127.9 kB / 455.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.377, allocations: 432.7 kB / 455.9 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.3771, allocations: 12 kB / 455.9 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.3898, allocations: 10.88 MB / 466.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3899, allocations: 7.922 kB / 466.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004818/0.3947, allocations: 1.932 MB / 468.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.395, allocations: 183.8 kB / 468.9 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.3952, allocations: 16 kB / 468.9 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.3961, allocations: 115.8 kB / 469.1 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3962, allocations: 60.42 kB / 469.1 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.3963, allocations: 24 kB / 469.1 MB, free: 2.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008106/0.3971, allocations: 0.5498 MB / 469.7 MB, free: 1.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3971, allocations: 0 / 469.7 MB, free: 1.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001337/0.3985, allocations: 359 kB / 470 MB, free: 1.445 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.0002272/0.3987, allocations: 131.1 kB / 470.2 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006089/0.4048, allocations: 1.994 MB / 472.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4048, allocations: 0 / 472.2 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.4066, allocations: 1.161 MB / 473.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.4081, allocations: 204.1 kB / 473.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.4131, allocations: 2.342 MB / 475.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.4139, allocations: 1.078 MB / 476.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.4141, allocations: 63.44 kB / 477 MB, free: 10.28 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4141, allocations: 0 / 477 MB, free: 10.28 MB / 398.1 MB Notification: Performance of Templates: time 0.04557/0.4597, allocations: 43.15 MB / 0.508 GB, free: 15.13 MB / 446.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