Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 110.6 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 55.42 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1121, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008781/0.121, allocations: 7.864 MB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.1247, allocations: 1.866 MB / 361.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005551/0.1253, allocations: 27.94 kB / 361.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.1258, allocations: 237.7 kB / 361.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008427/0.1266, allocations: 440.2 kB / 361.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.1275, allocations: 0.4993 MB / 362.4 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1291, allocations: 1.798 MB / 364.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.1299, allocations: 0.6091 MB / 364.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.1305, allocations: 0.6383 MB / 365.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.1312, allocations: 0.7194 MB / 366.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1314, allocations: 180 kB / 366.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.1317, allocations: 180 kB / 366.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.1319, allocations: 354.7 kB / 366.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.1326, allocations: 0.7776 MB / 367.7 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.1343, allocations: 2.052 MB / 369.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1343, allocations: 0 / 369.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1343, allocations: 0 / 369.7 MB, free: 1.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.1344, allocations: 3.938 kB / 369.7 MB, free: 1.355 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.1778/0.3122, allocations: 1.784 MB / 371.5 MB, free: 24.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3122, allocations: 11.16 kB / 371.5 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.3125, allocations: 155 kB / 371.7 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3136, allocations: 0.7586 MB / 372.4 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.3136, allocations: 89.2 kB / 372.5 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3138, allocations: 128.3 kB / 372.6 MB, free: 24.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.3162, allocations: 1.307 MB / 373.9 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.3162, allocations: 1.156 kB / 373.9 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.3163, allocations: 56.09 kB / 374 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.3164, allocations: 30.97 kB / 374 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.3188, allocations: 1.126 MB / 375.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007672/0.3265, allocations: 4.93 MB / 380.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.3288, allocations: 1.222 MB / 381.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3299, allocations: 0.5221 MB / 381.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.3299, allocations: 13.91 kB / 381.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.33, allocations: 41 kB / 381.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 2.795e-06/0.33, allocations: 0 / 381.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.008812/0.3388, allocations: 2.93 MB / 384.8 MB, free: 18.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.3389, allocations: 86.2 kB / 384.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3401, allocations: 0.8153 MB / 385.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.3402, allocations: 41.61 kB / 385.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.3406, allocations: 0.5893 MB / 386.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.3407, allocations: 286.7 kB / 386.6 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.341, allocations: 165.2 kB / 386.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.341, allocations: 342.4 kB / 387.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.3419, allocations: 367.4 kB / 387.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.3428, allocations: 0.5808 MB / 388.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.3445, allocations: 0.9511 MB / 389 MB, free: 15.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.3446, allocations: 2.812 kB / 389 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002877/0.3474, allocations: 1.36 MB / 390.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.3475, allocations: 7.812 kB / 390.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3475, allocations: 5.906 kB / 390.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008327/0.3483, allocations: 226.6 kB / 390.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.3518, allocations: 0.8316 MB / 391.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.3629, allocations: 10.85 MB / 402.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.3639, allocations: 143 kB / 402.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.364, allocations: 40 kB / 402.5 MB, free: 4.254 MB / 302.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.0004639/0.3645, allocations: 277.5 kB / 402.7 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.3647, allocations: 98.78 kB / 402.8 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.3649, allocations: 104.9 kB / 402.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3649, allocations: 9.078 kB / 402.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.3649, allocations: 0 / 402.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.3649, allocations: 7.984 kB / 403 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/0.3695, allocations: 2.458 MB / 405.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3695, allocations: 0 / 405.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.3701, allocations: 123.9 kB / 405.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.3713, allocations: 434.3 kB / 406 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.3713, allocations: 16 kB / 406 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.384, allocations: 10.88 MB / 416.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.384, allocations: 7.922 kB / 416.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.3888, allocations: 1.936 MB / 418.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.3892, allocations: 193.6 kB / 419 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.3894, allocations: 12 kB / 419 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008689/0.3903, allocations: 107.9 kB / 419.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.3905, allocations: 60.42 kB / 419.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.3906, allocations: 27.98 kB / 419.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007457/0.3913, allocations: 0.5497 MB / 419.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3913, allocations: 0 / 419.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001344/0.3927, allocations: 359 kB / 420.1 MB, free: 1.652 MB / 318.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.0002071/0.3929, allocations: 131.1 kB / 420.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005926/0.3988, allocations: 1.999 MB / 422.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.3989, allocations: 0 / 422.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.4006, allocations: 1.164 MB / 423.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4018, allocations: 200.2 kB / 423.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.4065, allocations: 2.289 MB / 425.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.4071, allocations: 1.077 MB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000387/0.4075, allocations: 111.4 kB / 427.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4077, allocations: 55.44 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4077, allocations: 0 / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Templates: time 0.02447/0.4322, allocations: 14.38 MB / 441.5 MB, free: 12.21 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches