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.0009728/0.0009727, allocations: 98.45 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001331, allocations: 201.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002647, allocations: 8 kB / 308.4 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007401/0.108, allocations: 7.348 MB / 367.3 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.1118, allocations: 1.874 MB / 369.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.113, allocations: 27.88 kB / 369.2 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007306/0.1137, allocations: 174.6 kB / 369.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1151, allocations: 381.1 kB / 369.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1161, allocations: 447.6 kB / 370.2 MB, free: 3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.1184, allocations: 1.692 MB / 371.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008986/0.1193, allocations: 0.5175 MB / 372.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007864/0.1201, allocations: 0.5095 MB / 372.9 MB, free: 256 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1676/0.2877, allocations: 0.6054 MB / 373.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005214/0.2882, allocations: 75.09 kB / 373.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.2887, allocations: 75.19 kB / 373.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.2891, allocations: 243.6 kB / 373.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.2903, allocations: 0.6832 MB / 374.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.2925, allocations: 1.589 MB / 376.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2925, allocations: 0 / 376.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2925, allocations: 0 / 376.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.573e-05/0.2926, allocations: 1.094 kB / 376.1 MB, free: 9.91 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.004756/0.2973, allocations: 1.58 MB / 377.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2974, allocations: 9.125 kB / 377.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.2981, allocations: 157.8 kB / 377.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.2996, allocations: 0.7325 MB / 378.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.2997, allocations: 90.2 kB / 378.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.2999, allocations: 120.6 kB / 378.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.3027, allocations: 1.332 MB / 380.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.3027, allocations: 3.562 kB / 380.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.3029, allocations: 57.53 kB / 380.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.3029, allocations: 29.84 kB / 380.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3055, allocations: 1.162 MB / 381.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007661/0.3132, allocations: 5.062 MB / 386.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.3156, allocations: 1.261 MB / 387.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3168, allocations: 0.5509 MB / 388.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.3168, allocations: 10.12 kB / 388.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3169, allocations: 46.91 kB / 388.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.415e-06/0.3169, allocations: 0 / 388.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.00859/0.3255, allocations: 3.161 MB / 391.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3255, allocations: 85.23 kB / 391.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3267, allocations: 0.8169 MB / 392.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/0.3268, allocations: 39.2 kB / 392.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.3271, allocations: 0.5903 MB / 393 MB, free: 2.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.3273, allocations: 280.7 kB / 393.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.3274, allocations: 86.48 kB / 393.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.3274, allocations: 342.2 kB / 393.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008725/0.3283, allocations: 388.4 kB / 394.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/0.3293, allocations: 0.6021 MB / 394.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.3312, allocations: 0.9887 MB / 395.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.3312, allocations: 1.562 kB / 395.7 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003115/0.3344, allocations: 1.427 MB / 397.1 MB, free: 132 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3344, allocations: 7.531 kB / 397.1 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3344, allocations: 7.812 kB / 397.1 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.3351, allocations: 240.1 kB / 397.4 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.3386, allocations: 0.9324 MB / 398.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.3515, allocations: 10.22 MB / 408.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.3527, allocations: 154.9 kB / 408.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3529, allocations: 32 kB / 408.7 MB, free: 5.68 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.0006197/0.3535, allocations: 275.9 kB / 409 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.3538, allocations: 98.88 kB / 409.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.354, allocations: 108.9 kB / 409.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.354, allocations: 8 kB / 409.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.3541, allocations: 4 kB / 409.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3541, allocations: 3.984 kB / 409.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.3596, allocations: 2.545 MB / 411.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3596, allocations: 0 / 411.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.3602, allocations: 125.7 kB / 411.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.3616, allocations: 446.4 kB / 412.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.3617, allocations: 16 kB / 412.3 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.3736, allocations: 10.13 MB / 422.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3736, allocations: 3.469 kB / 422.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004933/0.3785, allocations: 2.051 MB / 424.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.3789, allocations: 187.7 kB / 424.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3791, allocations: 19.94 kB / 424.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.38, allocations: 119.9 kB / 424.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3801, allocations: 64.41 kB / 424.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.3802, allocations: 24 kB / 424.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000779/0.381, allocations: 0.5498 MB / 425.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.381, allocations: 3.938 kB / 425.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001302/0.3823, allocations: 359 kB / 425.8 MB, free: 3.723 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.0001865/0.3825, allocations: 125.7 kB / 425.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006059/0.3885, allocations: 2.146 MB / 428.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3886, allocations: 4 kB / 428.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.3902, allocations: 1.171 MB / 429.2 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.3915, allocations: 204 kB / 429.4 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.3965, allocations: 2.966 MB / 432.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.3974, allocations: 1.078 MB / 433.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3976, allocations: 63.44 kB / 433.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3976, allocations: 0 / 433.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Templates: time 0.04339/0.441, allocations: 42.88 MB / 476.4 MB, free: 1 MB / 382.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