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.001405/0.001405, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001208/0.001209, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 49.43 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009852/0.3315, allocations: 7.882 MB / 409.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.3365, allocations: 1.858 MB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.3384, allocations: 23.94 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.3396, allocations: 241.7 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.3421, allocations: 440.2 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.3437, allocations: 0.4955 MB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.347, allocations: 1.806 MB / 414.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.3484, allocations: 0.5974 MB / 414.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3497, allocations: 0.6384 MB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.3512, allocations: 0.7233 MB / 416.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006401/0.3519, allocations: 180 kB / 416.3 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007689/0.3527, allocations: 176 kB / 416.5 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.3532, allocations: 354.8 kB / 416.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.3548, allocations: 0.7775 MB / 417.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.3576, allocations: 2.045 MB / 419.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3576, allocations: 0 / 419.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3576, allocations: 0 / 419.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3577, allocations: 0 / 419.6 MB, free: 6.598 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.00404/0.3618, allocations: 1.785 MB / 421.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3619, allocations: 12.02 kB / 421.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.3621, allocations: 159.1 kB / 421.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3633, allocations: 0.7646 MB / 422.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.3634, allocations: 94.39 kB / 422.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.3635, allocations: 120 kB / 422.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.3659, allocations: 1.312 MB / 423.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.366, allocations: 0 / 423.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3661, allocations: 52 kB / 423.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.3661, allocations: 28 kB / 424 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.3685, allocations: 1.129 MB / 425.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.3762, allocations: 4.945 MB / 430 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.3785, allocations: 1.208 MB / 431.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.3796, allocations: 0.5293 MB / 431.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.3797, allocations: 12.64 kB / 431.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3798, allocations: 43.22 kB / 431.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.507e-06/0.3798, allocations: 4 kB / 431.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008386/0.3882, allocations: 2.936 MB / 434.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.3883, allocations: 89.77 kB / 434.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.3899, allocations: 0.802 MB / 435.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/0.39, allocations: 37.7 kB / 435.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004744/0.3905, allocations: 0.5959 MB / 436.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.3908, allocations: 276 kB / 436.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.3911, allocations: 166.6 kB / 436.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3913, allocations: 345.9 kB / 437.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/0.3922, allocations: 373.7 kB / 437.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.3932, allocations: 0.5856 MB / 438 MB, free: 3.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.3952, allocations: 0.952 MB / 439 MB, free: 2.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.3952, allocations: 4 kB / 439 MB, free: 2.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003286/0.3985, allocations: 1.361 MB / 440.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3985, allocations: 8 kB / 440.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.3985, allocations: 8 kB / 440.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.3994, allocations: 230.7 kB / 440.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.4028, allocations: 0.8272 MB / 441.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.4169, allocations: 10.85 MB / 452.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.4181, allocations: 142.8 kB / 452.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.4183, allocations: 39.98 kB / 452.4 MB, free: 4.121 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.0007187/0.419, allocations: 277.6 kB / 452.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.4194, allocations: 94.88 kB / 452.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.4197, allocations: 108.8 kB / 452.9 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4197, allocations: 8 kB / 452.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.4197, allocations: 4 kB / 452.9 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4197, allocations: 3.984 kB / 452.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00581/0.4256, allocations: 2.456 MB / 455.4 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.4256, allocations: 4 kB / 455.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.4262, allocations: 119.9 kB / 455.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.4276, allocations: 428.7 kB / 455.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.4277, allocations: 16 kB / 455.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.4411, allocations: 10.88 MB / 466.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4411, allocations: 0 / 466.8 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.4461, allocations: 1.944 MB / 468.8 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.4465, allocations: 187.8 kB / 468.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.4468, allocations: 16 kB / 469 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009467/0.4477, allocations: 108.1 kB / 469.1 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.448, allocations: 68.41 kB / 469.1 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.448, allocations: 24 kB / 469.2 MB, free: 2.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.4491, allocations: 0.5498 MB / 469.7 MB, free: 1.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4491, allocations: 0 / 469.7 MB, free: 1.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001649/0.4507, allocations: 359 kB / 470.1 MB, free: 1.477 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.0002745/0.451, allocations: 127.2 kB / 470.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005801/0.4568, allocations: 1.994 MB / 472.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.4568, allocations: 5.062 kB / 472.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.4587, allocations: 1.155 MB / 473.3 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.001533/0.4602, allocations: 200.1 kB / 473.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.4659, allocations: 2.342 MB / 475.9 MB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/0.4669, allocations: 1.074 MB / 476.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.4672, allocations: 63.44 kB / 477 MB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4672, allocations: 4 kB / 477 MB, free: 10.32 MB / 398.1 MB Notification: Performance of Templates: time 0.05095/0.5182, allocations: 43.31 MB / 0.5081 GB, free: 15.01 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