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.001611/0.001611, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001263/0.001263, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 71.75 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1072, allocations: 50.52 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008383/0.1156, allocations: 7.878 MB / 366.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.1193, allocations: 1.897 MB / 368.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005839/0.1199, allocations: 31.88 kB / 368.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.1204, allocations: 237.7 kB / 368.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.1213, allocations: 436.3 kB / 369.4 MB, free: 2.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.1221, allocations: 0.4994 MB / 369.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.1237, allocations: 1.802 MB / 371.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2053/0.329, allocations: 0.6144 MB / 372.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.3305, allocations: 0.6408 MB / 372.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009693/0.3315, allocations: 0.7146 MB / 373.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.3318, allocations: 183.6 kB / 373.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.3322, allocations: 179.6 kB / 374 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.3325, allocations: 352.8 kB / 374.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.3333, allocations: 0.7745 MB / 375.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.3358, allocations: 2.05 MB / 377.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3359, allocations: 0 / 377.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3359, allocations: 0 / 377.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.14e-05/0.3359, allocations: 2 kB / 377.2 MB, free: 9.918 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.003866/0.3398, allocations: 1.785 MB / 379 MB, free: 9.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3398, allocations: 9.156 kB / 379 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.3402, allocations: 154.4 kB / 379.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3415, allocations: 0.7561 MB / 379.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.337e-05/0.3415, allocations: 94.52 kB / 380 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.3418, allocations: 119.7 kB / 380.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.3443, allocations: 1.312 MB / 381.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.3443, allocations: 1.031 kB / 381.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3444, allocations: 53.3 kB / 381.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.3445, allocations: 29.91 kB / 381.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.3469, allocations: 1.122 MB / 382.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007285/0.3542, allocations: 4.943 MB / 387.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.3566, allocations: 1.221 MB / 388.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.3577, allocations: 0.5259 MB / 389.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.3578, allocations: 8.281 kB / 389.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3578, allocations: 53.56 kB / 389.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 4.038e-06/0.3578, allocations: 0 / 389.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008506/0.3663, allocations: 2.933 MB / 392.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.3664, allocations: 90.03 kB / 392.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.3679, allocations: 0.8062 MB / 393.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.368, allocations: 45.81 kB / 393.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.3683, allocations: 0.5812 MB / 393.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.3686, allocations: 282.1 kB / 394.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.3689, allocations: 169.1 kB / 394.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.369, allocations: 342.3 kB / 394.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/0.3698, allocations: 371.4 kB / 394.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/0.3707, allocations: 0.5801 MB / 395.5 MB, free: 308 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.3727, allocations: 0.9507 MB / 396.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.3727, allocations: 2.75 kB / 396.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003293/0.376, allocations: 1.362 MB / 397.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3761, allocations: 7.219 kB / 397.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3761, allocations: 11.41 kB / 397.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.3769, allocations: 224.5 kB / 398.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.3804, allocations: 0.8292 MB / 398.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.3943, allocations: 10.84 MB / 409.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.3956, allocations: 142.8 kB / 409.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.3956, allocations: 36 kB / 409.9 MB, free: 3.816 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.000676/0.3963, allocations: 275.1 kB / 410.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.3965, allocations: 98.88 kB / 410.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3967, allocations: 104.9 kB / 410.4 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3967, allocations: 8 kB / 410.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.3967, allocations: 3.938 kB / 410.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3968, allocations: 3.984 kB / 410.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.4019, allocations: 2.456 MB / 412.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4019, allocations: 2.625 kB / 412.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4025, allocations: 125.3 kB / 413 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.4039, allocations: 427.1 kB / 413.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.4039, allocations: 16 kB / 413.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/0.4165, allocations: 10.89 MB / 424.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.4165, allocations: 8.016 kB / 424.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/0.4212, allocations: 1.937 MB / 426.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.4216, allocations: 191.7 kB / 426.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.4218, allocations: 20 kB / 426.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.4225, allocations: 99.91 kB / 426.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.4227, allocations: 63.05 kB / 426.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.4228, allocations: 24 kB / 426.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007657/0.4236, allocations: 0.5536 MB / 427.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4236, allocations: 4 kB / 427.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001421/0.425, allocations: 359.1 kB / 427.6 MB, free: 1.297 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.0002311/0.4252, allocations: 123.4 kB / 427.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00573/0.431, allocations: 1.985 MB / 429.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.431, allocations: 4 kB / 429.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.4329, allocations: 1.173 MB / 430.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4344, allocations: 211 kB / 431 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.4402, allocations: 2.288 MB / 433.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.441, allocations: 1.074 MB / 434.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.4415, allocations: 103.5 kB / 434.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.4417, allocations: 59.44 kB / 434.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4417, allocations: 3.938 kB / 434.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.02505/0.4667, allocations: 14.4 MB / 449 MB, free: 11.93 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 -s cvode -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