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.001128/0.001128, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.88 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2603, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008721/0.2691, allocations: 7.884 MB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00421/0.2733, allocations: 1.901 MB / 419.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.2745, allocations: 27.88 kB / 419.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.2753, allocations: 233.7 kB / 420 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.2769, allocations: 440.3 kB / 420.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2782, allocations: 0.4916 MB / 420.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002421/0.2806, allocations: 1.798 MB / 422.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.2817, allocations: 0.6169 MB / 423.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.2828, allocations: 0.6344 MB / 424 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.2839, allocations: 0.7195 MB / 424.7 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.2843, allocations: 180 kB / 424.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.2848, allocations: 180 kB / 425.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.2851, allocations: 354.8 kB / 425.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009674/0.2861, allocations: 0.7737 MB / 426.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.2881, allocations: 2.045 MB / 428.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2881, allocations: 8 kB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2881, allocations: 0 / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.847e-05/0.2882, allocations: 0 / 428.2 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.003926/0.2921, allocations: 1.785 MB / 430 MB, free: 13.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2921, allocations: 12.03 kB / 430 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.2924, allocations: 159.1 kB / 430.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.2937, allocations: 0.7569 MB / 430.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.2937, allocations: 94.39 kB / 431 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2939, allocations: 120 kB / 431.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.2964, allocations: 1.312 MB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.2965, allocations: 4 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.2966, allocations: 55.94 kB / 432.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.2966, allocations: 28 kB / 432.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.2991, allocations: 1.114 MB / 433.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007836/0.307, allocations: 4.952 MB / 438.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.3095, allocations: 1.211 MB / 439.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.3106, allocations: 0.5332 MB / 440.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.3107, allocations: 8.656 kB / 440.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3107, allocations: 47.22 kB / 440.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.3107, allocations: 3.938 kB / 440.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008763/0.3195, allocations: 2.936 MB / 443.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.3196, allocations: 85.77 kB / 443.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3207, allocations: 0.802 MB / 444.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.3208, allocations: 41.7 kB / 444.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.3212, allocations: 0.592 MB / 444.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.3215, allocations: 275.9 kB / 445.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.3218, allocations: 170.5 kB / 445.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3219, allocations: 353.9 kB / 445.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009062/0.3228, allocations: 369.8 kB / 446 MB, free: 12.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3238, allocations: 0.5738 MB / 446.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.3258, allocations: 0.9559 MB / 447.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3258, allocations: 4 kB / 447.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003196/0.329, allocations: 1.354 MB / 448.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.329, allocations: 8 kB / 448.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3291, allocations: 8 kB / 448.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008376/0.3299, allocations: 226.7 kB / 449.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.3336, allocations: 0.8311 MB / 450 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/0.3471, allocations: 10.84 MB / 460.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3482, allocations: 142.8 kB / 460.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.3484, allocations: 44.05 kB / 461 MB, free: 12.77 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.0005618/0.3489, allocations: 277.5 kB / 461.3 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.3492, allocations: 94.88 kB / 461.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3494, allocations: 112.8 kB / 461.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3494, allocations: 8 kB / 461.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3495, allocations: 4 kB / 461.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3495, allocations: 11.92 kB / 461.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/0.3546, allocations: 2.452 MB / 463.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3546, allocations: 4 kB / 463.9 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.3552, allocations: 119.8 kB / 464.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.3566, allocations: 428.8 kB / 464.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.3566, allocations: 19.94 kB / 464.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.369, allocations: 10.89 MB / 475.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.369, allocations: 4 kB / 475.4 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/0.3737, allocations: 1.944 MB / 477.3 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.3741, allocations: 179.9 kB / 477.5 MB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.3742, allocations: 16 kB / 477.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.3751, allocations: 107.8 kB / 477.6 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.3752, allocations: 56.48 kB / 477.7 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.3753, allocations: 28 kB / 477.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007212/0.376, allocations: 0.5498 MB / 478.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.376, allocations: 0 / 478.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001241/0.3773, allocations: 362.9 kB / 478.6 MB, free: 10.12 MB / 398.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.0002006/0.3775, allocations: 131.1 kB / 478.7 MB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005788/0.3833, allocations: 1.995 MB / 480.7 MB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3833, allocations: 0 / 480.7 MB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.3849, allocations: 1.155 MB / 481.9 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3861, allocations: 208.6 kB / 482.1 MB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.3908, allocations: 2.331 MB / 484.4 MB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/0.3915, allocations: 1.074 MB / 485.5 MB, free: 3.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.3918, allocations: 63.44 kB / 485.6 MB, free: 2.98 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3918, allocations: 7.875 kB / 485.6 MB, free: 2.973 MB / 398.1 MB Notification: Performance of Templates: time 0.04407/0.4359, allocations: 43.3 MB / 0.5165 GB, free: 7.672 MB / 446.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