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.00115/0.00115, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002342/0.0002342, allocations: 4 kB / 306.6 MB, free: 1.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 51.5 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006374/0.1299, allocations: 6.327 MB / 364.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004212/0.1341, allocations: 1.937 MB / 366.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.1352, allocations: 27.88 kB / 366.4 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1355, allocations: 166.7 kB / 366.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.1367, allocations: 0.4985 MB / 367 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.1375, allocations: 315.5 kB / 367.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.139, allocations: 1.142 MB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/0.1397, allocations: 477.5 kB / 368.9 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.1403, allocations: 0.4981 MB / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.141, allocations: 0.5794 MB / 370 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1411, allocations: 75.94 kB / 370.1 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1413, allocations: 76 kB / 370.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1415, allocations: 227.1 kB / 370.4 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.1417, allocations: 289 kB / 370.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2422/0.3839, allocations: 1.577 MB / 372.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3839, allocations: 1.031 kB / 372.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3839, allocations: 0.7188 kB / 372.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.161e-05/0.384, allocations: 0 / 372.3 MB, free: 10.68 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.003679/0.3877, allocations: 1.596 MB / 373.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3878, allocations: 13.2 kB / 373.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.3882, allocations: 159.1 kB / 374 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3893, allocations: 0.7104 MB / 374.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.3894, allocations: 90.73 kB / 374.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3897, allocations: 120.2 kB / 374.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.3929, allocations: 1.31 MB / 376.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3929, allocations: 0 / 376.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3931, allocations: 51.81 kB / 376.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.3931, allocations: 30.09 kB / 376.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.3962, allocations: 1.153 MB / 377.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.4063, allocations: 5.06 MB / 382.5 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.4091, allocations: 1.249 MB / 383.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.4092, allocations: 12.12 kB / 383.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4092, allocations: 51.2 kB / 383.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.955e-06/0.4092, allocations: 0 / 383.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01015/0.4194, allocations: 3.131 MB / 387 MB, free: 6.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4195, allocations: 95.67 kB / 387.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.4215, allocations: 0.7975 MB / 387.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.4217, allocations: 40.11 kB / 387.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.4223, allocations: 0.5879 MB / 388.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.4226, allocations: 279 kB / 388.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.4226, allocations: 19.75 kB / 388.8 MB, free: 5.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4227, allocations: 351.6 kB / 389.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.4238, allocations: 387.5 kB / 389.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4249, allocations: 0.598 MB / 390.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.426, allocations: 444.8 kB / 390.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.426, allocations: 2.25 kB / 390.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003641/0.4296, allocations: 1.412 MB / 392 MB, free: 4.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.4297, allocations: 8.25 kB / 392 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.4297, allocations: 8.281 kB / 392 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008523/0.4306, allocations: 236.4 kB / 392.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.4344, allocations: 0.9359 MB / 393.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.447, allocations: 10.35 MB / 403.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4484, allocations: 156.2 kB / 403.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.4485, allocations: 38.17 kB / 403.7 MB, free: 10.86 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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006742/0.4492, allocations: 269.1 kB / 404 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.4495, allocations: 105.5 kB / 404.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.4496, allocations: 111.5 kB / 404.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4497, allocations: 13.11 kB / 404.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.4497, allocations: 0 / 404.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4497, allocations: 5.516 kB / 404.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/0.4551, allocations: 2.538 MB / 406.7 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.4552, allocations: 4 kB / 406.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.4558, allocations: 130.7 kB / 406.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4572, allocations: 440.9 kB / 407.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.4573, allocations: 19.98 kB / 407.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/0.4708, allocations: 10.28 MB / 417.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4708, allocations: 0 / 417.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.4761, allocations: 2.074 MB / 419.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.4767, allocations: 195.7 kB / 419.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4768, allocations: 16 kB / 419.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/0.4777, allocations: 119.9 kB / 420 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.4779, allocations: 63.84 kB / 420 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.4779, allocations: 24 kB / 420.1 MB, free: 9.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00084/0.4788, allocations: 0.5381 MB / 420.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4788, allocations: 2.406 kB / 420.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4803, allocations: 359 kB / 421 MB, free: 9.078 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002515/0.4806, allocations: 134.3 kB / 421.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006158/0.4868, allocations: 2.125 MB / 423.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.4868, allocations: 1.062 kB / 423.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.4886, allocations: 1.191 MB / 424.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.4898, allocations: 174.6 kB / 424.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.4951, allocations: 2.801 MB / 427.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.4958, allocations: 1.097 MB / 428.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005468/0.4963, allocations: 107.6 kB / 428.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4965, allocations: 55.44 kB / 428.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4965, allocations: 0 / 428.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Templates: time 0.02258/0.5191, allocations: 12.9 MB / 441.5 MB, free: 4.543 MB / 350.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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches