Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.4 MB / 251.1 MB, free: 8.434 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.84 kB / 369 MB, free: 6.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3115, allocations: 53.32 MB / 422.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009991/0.3215, allocations: 7.91 MB / 430.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.3283, allocations: 1.905 MB / 432.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.3303, allocations: 23.94 kB / 432.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009533/0.3313, allocations: 241.6 kB / 432.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.3331, allocations: 456.2 kB / 432.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3344, allocations: 0.4916 MB / 433.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.3372, allocations: 1.798 MB / 435.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.3382, allocations: 435.9 kB / 435.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3394, allocations: 0.6383 MB / 436.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.3406, allocations: 0.7272 MB / 436.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.3409, allocations: 180 kB / 437.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.3412, allocations: 180 kB / 437.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.3416, allocations: 346.8 kB / 437.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.3423, allocations: 0.7814 MB / 438.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.3446, allocations: 2.05 MB / 440.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3446, allocations: 0 / 440.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3446, allocations: 0 / 440.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.66e-05/0.3446, allocations: 0 / 440.4 MB, free: 5.598 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.003734/0.3484, allocations: 1.827 MB / 442.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3484, allocations: 8.031 kB / 442.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.3487, allocations: 164 kB / 442.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.35, allocations: 0.7653 MB / 443.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.3501, allocations: 94.39 kB / 443.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.3503, allocations: 120 kB / 443.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.353, allocations: 1.312 MB / 444.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.353, allocations: 3.938 kB / 444.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.3531, allocations: 52 kB / 444.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.3532, allocations: 28 kB / 444.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.3557, allocations: 1.125 MB / 445.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.3641, allocations: 4.966 MB / 450.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.3666, allocations: 1.153 MB / 452 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.3677, allocations: 486.1 kB / 452.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.3678, allocations: 16.78 kB / 452.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3678, allocations: 47.22 kB / 452.6 MB, free: 9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 5.81e-06/0.3678, allocations: 3.984 kB / 452.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.008771/0.3766, allocations: 2.925 MB / 455.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.3766, allocations: 89.77 kB / 455.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.378, allocations: 0.8098 MB / 456.4 MB, free: 5.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.3781, allocations: 41.7 kB / 456.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.3786, allocations: 0.613 MB / 457.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.3789, allocations: 289.5 kB / 457.3 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.3792, allocations: 170.6 kB / 457.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3794, allocations: 345.9 kB / 457.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009626/0.3804, allocations: 365.8 kB / 458.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.3815, allocations: 0.5856 MB / 458.8 MB, free: 2.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.3834, allocations: 0.9481 MB / 459.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3834, allocations: 0 / 459.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003394/0.3868, allocations: 1.362 MB / 461.1 MB, free: 100 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3869, allocations: 8 kB / 461.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3869, allocations: 8 kB / 461.1 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008341/0.3877, allocations: 214.7 kB / 461.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/0.3912, allocations: 0.8388 MB / 462.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.406, allocations: 10.84 MB / 473 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4075, allocations: 147.2 kB / 473.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4076, allocations: 40 kB / 473.2 MB, free: 3.172 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.0007976/0.4084, allocations: 273.6 kB / 473.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.4087, allocations: 107.3 kB / 473.6 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4089, allocations: 112.8 kB / 473.7 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4089, allocations: 8 kB / 473.7 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.4089, allocations: 3.938 kB / 473.7 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4089, allocations: 3.984 kB / 473.7 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.4145, allocations: 2.444 MB / 476.1 MB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4146, allocations: 7.922 kB / 476.1 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.4151, allocations: 115.9 kB / 476.3 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.4166, allocations: 428.8 kB / 476.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.4166, allocations: 23.92 kB / 476.7 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.4304, allocations: 10.89 MB / 487.6 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4304, allocations: 4.031 kB / 487.6 MB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.4352, allocations: 1.929 MB / 489.5 MB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.4356, allocations: 200.3 kB / 489.7 MB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4357, allocations: 16 kB / 489.7 MB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.4365, allocations: 107.9 kB / 489.8 MB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.4367, allocations: 64.47 kB / 489.9 MB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4367, allocations: 20 kB / 489.9 MB, free: 1.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007862/0.4375, allocations: 0.5537 MB / 490.5 MB, free: 0.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4375, allocations: 3.938 kB / 490.5 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001337/0.4389, allocations: 355.3 kB / 490.8 MB, free: 0.5234 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.0002122/0.4391, allocations: 135.1 kB / 491 MB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005878/0.4449, allocations: 1.963 MB / 492.9 MB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4449, allocations: 0 / 492.9 MB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.4467, allocations: 1.141 MB / 494.1 MB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4479, allocations: 191.3 kB / 494.2 MB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.4528, allocations: 2.327 MB / 496.6 MB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/0.4536, allocations: 1.078 MB / 497.6 MB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.4541, allocations: 103.5 kB / 497.8 MB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.4542, allocations: 55.44 kB / 497.8 MB, free: 9.348 MB / 414.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4542, allocations: 0 / 497.8 MB, free: 9.348 MB / 414.1 MB Notification: Performance of Templates: time 0.02972/0.4839, allocations: 14.94 MB / 0.5007 GB, free: 10.53 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches