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.001048/0.001048, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 307.8 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007262/0.1326, allocations: 7.352 MB / 366.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.1367, allocations: 1.874 MB / 368.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.1374, allocations: 27.88 kB / 368.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1378, allocations: 178.6 kB / 368.7 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.1388, allocations: 377.1 kB / 369.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.1396, allocations: 451.6 kB / 369.5 MB, free: 3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1415, allocations: 1.692 MB / 371.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008637/0.1424, allocations: 0.5214 MB / 371.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.1431, allocations: 0.5095 MB / 372.2 MB, free: 252 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2203/0.3634, allocations: 0.6042 MB / 372.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.3639, allocations: 77.56 kB / 372.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.3642, allocations: 75.34 kB / 373 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.3645, allocations: 238.4 kB / 373.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.3654, allocations: 0.683 MB / 373.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.3679, allocations: 1.908 MB / 375.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3679, allocations: 0 / 375.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3679, allocations: 1.5 kB / 375.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.335e-05/0.368, allocations: 1.062 kB / 375.8 MB, free: 10.38 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.003358/0.3714, allocations: 1.577 MB / 377.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3714, allocations: 10.38 kB / 377.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.3717, allocations: 161.2 kB / 377.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.3727, allocations: 0.7356 MB / 378.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.676e-05/0.3728, allocations: 93.02 kB / 378.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.373, allocations: 118.6 kB / 378.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.3758, allocations: 1.335 MB / 379.8 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.3758, allocations: 0 / 379.8 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.376, allocations: 54.34 kB / 379.9 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.376, allocations: 31.33 kB / 379.9 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.3788, allocations: 1.159 MB / 381.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008247/0.387, allocations: 5.062 MB / 386.1 MB, free: 6.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.3896, allocations: 1.256 MB / 387.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.3908, allocations: 0.5468 MB / 387.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.3909, allocations: 13.75 kB / 388 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3909, allocations: 44.59 kB / 388 MB, free: 5.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/0.3909, allocations: 4 kB / 388 MB, free: 5.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.009857/0.4008, allocations: 3.17 MB / 391.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4008, allocations: 90 kB / 391.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.4022, allocations: 0.806 MB / 392.1 MB, free: 3.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-05/0.4023, allocations: 42.14 kB / 392.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.4026, allocations: 0.5871 MB / 392.7 MB, free: 2.602 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4029, allocations: 277.5 kB / 393 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.403, allocations: 81.89 kB / 393.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.4031, allocations: 350.6 kB / 393.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009958/0.4041, allocations: 385.9 kB / 393.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.4052, allocations: 0.6037 MB / 394.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.4072, allocations: 0.9966 MB / 395.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4072, allocations: 1.531 kB / 395.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003133/0.4103, allocations: 1.409 MB / 396.8 MB, free: 152 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.4104, allocations: 7.906 kB / 396.8 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.4104, allocations: 15.7 kB / 396.8 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008422/0.4112, allocations: 235.3 kB / 397 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.4149, allocations: 0.9376 MB / 398 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.4278, allocations: 10.21 MB / 408.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.429, allocations: 158.9 kB / 408.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.4291, allocations: 36 kB / 408.4 MB, free: 5.5 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.0006253/0.4298, allocations: 283.5 kB / 408.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4299, allocations: 94.88 kB / 408.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4302, allocations: 108.9 kB / 408.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4302, allocations: 11.94 kB / 408.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.4302, allocations: 4 kB / 408.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4302, allocations: 3.984 kB / 408.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.4357, allocations: 2.536 MB / 411.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4358, allocations: 4.875 kB / 411.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.4364, allocations: 131.7 kB / 411.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.4383, allocations: 457.3 kB / 412 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/0.4384, allocations: 15.98 kB / 412 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/0.4547, allocations: 10.12 MB / 422.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.4547, allocations: 4.031 kB / 422.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.4599, allocations: 2.052 MB / 424.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.4603, allocations: 191.7 kB / 424.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4604, allocations: 16 kB / 424.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008141/0.4613, allocations: 121 kB / 424.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.4614, allocations: 66.11 kB / 424.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.4615, allocations: 23.98 kB / 424.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000714/0.4622, allocations: 0.5459 MB / 425.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4622, allocations: 0 / 425.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001795/0.464, allocations: 359 kB / 425.5 MB, free: 3.539 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.0002459/0.4643, allocations: 125 kB / 425.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00854/0.4728, allocations: 2.147 MB / 427.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4728, allocations: 0 / 427.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.4753, allocations: 1.183 MB / 428.9 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4773, allocations: 199.1 kB / 429.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/0.4849, allocations: 2.911 MB / 432 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4861, allocations: 1.081 MB / 433.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006034/0.4867, allocations: 110.5 kB / 433.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4868, allocations: 55.44 kB / 433.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4868, allocations: 0 / 433.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Templates: time 0.02333/0.5102, allocations: 13.35 MB / 446.6 MB, free: 14.43 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.0.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