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.001093/0.001093, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2383, allocations: 50.54 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008008/0.2464, allocations: 7.891 MB / 417.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.25, allocations: 1.897 MB / 419.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/0.251, allocations: 27.94 kB / 419.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.2518, allocations: 233.7 kB / 420 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.2533, allocations: 456.2 kB / 420.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2544, allocations: 0.4994 MB / 421 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.2565, allocations: 1.802 MB / 422.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.2573, allocations: 0.6091 MB / 423.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006251/0.2579, allocations: 0.6383 MB / 424 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.2586, allocations: 0.7194 MB / 424.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.2588, allocations: 180 kB / 424.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.2591, allocations: 176 kB / 425.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.2593, allocations: 358.8 kB / 425.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.26, allocations: 0.7775 MB / 426.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.2616, allocations: 2.049 MB / 428.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2616, allocations: 0 / 428.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2616, allocations: 4 kB / 428.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.2617, allocations: 0 / 428.3 MB, free: 15.21 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.003085/0.2647, allocations: 1.778 MB / 430 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2648, allocations: 12.03 kB / 430.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.265, allocations: 159.1 kB / 430.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2661, allocations: 0.7529 MB / 431 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/0.2662, allocations: 98.39 kB / 431.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.2663, allocations: 124 kB / 431.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.2687, allocations: 1.305 MB / 432.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.2687, allocations: 0 / 432.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.2689, allocations: 59.94 kB / 432.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.2689, allocations: 32 kB / 432.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.2713, allocations: 1.122 MB / 433.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007018/0.2783, allocations: 4.945 MB / 438.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2807, allocations: 1.219 MB / 439.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.2818, allocations: 0.5255 MB / 440.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.2819, allocations: 12.59 kB / 440.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2819, allocations: 47.22 kB / 440.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.224e-06/0.2819, allocations: 0 / 440.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008479/0.2904, allocations: 2.932 MB / 443.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.2905, allocations: 89.77 kB / 443.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.2915, allocations: 0.802 MB / 444.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.2915, allocations: 37.7 kB / 444.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.292, allocations: 0.5881 MB / 444.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.2922, allocations: 287.9 kB / 445.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.2924, allocations: 166.5 kB / 445.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2926, allocations: 345.9 kB / 445.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/0.2935, allocations: 369.7 kB / 446 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.2946, allocations: 0.5817 MB / 446.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.2965, allocations: 0.9558 MB / 447.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2965, allocations: 0 / 447.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003117/0.2997, allocations: 1.358 MB / 448.9 MB, free: 9.711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.2997, allocations: 10.81 kB / 448.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.2997, allocations: 4 kB / 448.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/0.3005, allocations: 222.7 kB / 449.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.304, allocations: 0.8349 MB / 450 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.3169, allocations: 10.84 MB / 460.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.3179, allocations: 146.8 kB / 461 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.318, allocations: 36 kB / 461 MB, free: 12.79 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.0004638/0.3184, allocations: 281.2 kB / 461.3 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3187, allocations: 98.88 kB / 461.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.3189, allocations: 104.9 kB / 461.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3189, allocations: 7.922 kB / 461.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3189, allocations: 0 / 461.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3191, allocations: 191.6 kB / 461.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3192, allocations: 19.98 kB / 461.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/0.3201, allocations: 99.92 kB / 461.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3202, allocations: 72.48 kB / 461.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005031/0.3253, allocations: 1.633 MB / 463.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002833/0.3281, allocations: 1.479 MB / 465 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008104/0.3289, allocations: 353 kB / 465.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007606/0.3297, allocations: 0.5498 MB / 465.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.3297, allocations: 0 / 465.9 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.3355, allocations: 1.781 MB / 467.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of SimCode: time 0.003535/0.3391, allocations: 2.607 MB / 470.3 MB, free: 3.371 MB / 382.1 MB Notification: Performance of Templates: time 0.02396/0.363, allocations: 14.42 MB / 484.7 MB, free: 5.07 MB / 398.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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches