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.001006/0.001006, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001268/0.001268, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.612/1.612, allocations: 223.2 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 14 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 50.4 MB / 351.8 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008358/0.1739, allocations: 7.33 MB / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.1791, allocations: 1.843 MB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1807, allocations: 27.88 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.1814, allocations: 170.7 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.1832, allocations: 389.1 kB / 361.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.1846, allocations: 451.5 kB / 362 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.1875, allocations: 1.677 MB / 363.7 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009179/0.1884, allocations: 0.5253 MB / 364.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.1894, allocations: 0.5133 MB / 364.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.1906, allocations: 0.6062 MB / 365.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.1909, allocations: 76 kB / 365.4 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.1911, allocations: 76 kB / 365.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00044/0.1916, allocations: 234.8 kB / 365.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.193, allocations: 0.6894 MB / 366.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.1954, allocations: 1.903 MB / 368.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.1954, allocations: 0 / 368.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.661e-06/0.1954, allocations: 0 / 368.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.301e-05/0.1955, allocations: 4 kB / 368.3 MB, free: 2.871 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.004275/0.1998, allocations: 1.579 MB / 369.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.1999, allocations: 12.03 kB / 369.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.2003, allocations: 155.2 kB / 370.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.2016, allocations: 0.7334 MB / 370.8 MB, free: 304 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.524e-05/0.2017, allocations: 94.39 kB / 370.9 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.2019, allocations: 120 kB / 371 MB, free: 88 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.264/0.4659, allocations: 1.326 MB / 372.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.466, allocations: 2.719 kB / 372.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4662, allocations: 54.95 kB / 372.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.4662, allocations: 30.78 kB / 372.4 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.4695, allocations: 1.16 MB / 373.6 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.4802, allocations: 5.068 MB / 378.7 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.4832, allocations: 1.247 MB / 379.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.4846, allocations: 0.5562 MB / 380.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.4846, allocations: 10 kB / 380.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.4847, allocations: 47.75 kB / 380.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.357e-06/0.4847, allocations: 0 / 380.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.009795/0.4945, allocations: 3.172 MB / 383.7 MB, free: 18.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.4946, allocations: 85.47 kB / 383.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.4959, allocations: 0.8117 MB / 384.6 MB, free: 18.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4961, allocations: 38.55 kB / 384.6 MB, free: 18.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.4965, allocations: 0.5842 MB / 385.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.4968, allocations: 281.3 kB / 385.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.4969, allocations: 84.47 kB / 385.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4971, allocations: 342.2 kB / 385.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.4981, allocations: 389.3 kB / 386.3 MB, free: 17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.4993, allocations: 0.6035 MB / 386.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.5015, allocations: 0.9893 MB / 387.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.5015, allocations: 13.02 kB / 387.9 MB, free: 16.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003352/0.5048, allocations: 1.417 MB / 389.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.5049, allocations: 11.81 kB / 389.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.5049, allocations: 5.844 kB / 389.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009992/0.5059, allocations: 233.5 kB / 389.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/0.5098, allocations: 0.9354 MB / 390.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.521, allocations: 10.23 MB / 400.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.5221, allocations: 155.9 kB / 400.9 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.5222, allocations: 36 kB / 400.9 MB, free: 5.523 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.0004982/0.5227, allocations: 276.8 kB / 401.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.5228, allocations: 102.9 kB / 401.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.523, allocations: 100.9 kB / 401.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.523, allocations: 8 kB / 401.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.523, allocations: 7.938 kB / 401.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5231, allocations: 3.984 kB / 401.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004568/0.5276, allocations: 2.541 MB / 403.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.5277, allocations: 4 kB / 403.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.5282, allocations: 131.1 kB / 404.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.5294, allocations: 445.7 kB / 404.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.5295, allocations: 19.98 kB / 404.5 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.5426, allocations: 10.12 MB / 414.6 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5427, allocations: 4.031 kB / 414.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005714/0.5484, allocations: 2.053 MB / 416.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.5489, allocations: 187.8 kB / 416.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.549, allocations: 16 kB / 416.9 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008035/0.5498, allocations: 120.2 kB / 417 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.55, allocations: 68.41 kB / 417.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.5501, allocations: 20 kB / 417.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007661/0.5508, allocations: 0.5537 MB / 417.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5509, allocations: 0 / 417.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001488/0.5523, allocations: 359 kB / 418 MB, free: 3.488 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.00026/0.5526, allocations: 131.2 kB / 418.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006512/0.5591, allocations: 2.137 MB / 420.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.5592, allocations: 4 kB / 420.3 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.5612, allocations: 1.178 MB / 421.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.563, allocations: 193.9 kB / 421.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00588/0.5689, allocations: 2.929 MB / 424.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/0.57, allocations: 1.078 MB / 425.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007365/0.5708, allocations: 107.6 kB / 425.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.571, allocations: 55.44 kB / 425.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.495e-06/0.571, allocations: 0 / 425.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Templates: time 0.02664/0.5976, allocations: 13.33 MB / 439.1 MB, free: 14.28 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/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