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.0009615/0.0009616, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001136/0.001136, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.587/1.587, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 7.594 kB / 300.8 MB, free: 5.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 50.43 MB / 351.3 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007495/0.143, allocations: 6.876 MB / 358.1 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.1472, allocations: 1.812 MB / 359.9 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.148, allocations: 27.94 kB / 360 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.1484, allocations: 174.6 kB / 360.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1494, allocations: 369 kB / 360.5 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1505, allocations: 303.6 kB / 360.8 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.153, allocations: 1.619 MB / 362.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.1542, allocations: 465.6 kB / 362.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.1552, allocations: 0.498 MB / 363.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.1561, allocations: 0.587 MB / 364 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1563, allocations: 76 kB / 364 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1565, allocations: 76 kB / 364.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.1568, allocations: 238.9 kB / 364.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.1571, allocations: 281 kB / 364.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.159, allocations: 1.589 MB / 366.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.159, allocations: 0 / 366.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.159, allocations: 3.938 kB / 366.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.1591, allocations: 0 / 366.2 MB, free: 12.32 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.003952/0.163, allocations: 1.594 MB / 367.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.1631, allocations: 15.97 kB / 367.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.1635, allocations: 150.2 kB / 368 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.1649, allocations: 0.7093 MB / 368.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.165, allocations: 94.45 kB / 368.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.1652, allocations: 120 kB / 368.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.1688, allocations: 1.324 MB / 370.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.1689, allocations: 4 kB / 370.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.1691, allocations: 52 kB / 370.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.1691, allocations: 28 kB / 370.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/0.1728, allocations: 1.153 MB / 371.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.1837, allocations: 5.054 MB / 376.5 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.1862, allocations: 1.25 MB / 377.7 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.1874, allocations: 0.549 MB / 378.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.1875, allocations: 12.64 kB / 378.3 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/0.1876, allocations: 47.17 kB / 378.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 4.329e-06/0.1876, allocations: 0 / 378.4 MB, free: 15.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.01182/0.1994, allocations: 3.151 MB / 381.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.1995, allocations: 85.77 kB / 381.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.2014, allocations: 0.8057 MB / 382.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.2015, allocations: 41.7 kB / 382.4 MB, free: 11.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.2021, allocations: 0.592 MB / 383 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.2025, allocations: 276 kB / 383.3 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.2026, allocations: 20 kB / 383.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.2028, allocations: 349.9 kB / 383.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.2041, allocations: 389.7 kB / 384 MB, free: 9.852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.2056, allocations: 0.5895 MB / 384.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.207, allocations: 450.8 kB / 385.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.207, allocations: 0 / 385.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004637/0.2116, allocations: 1.408 MB / 386.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.2117, allocations: 4 kB / 386.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.2117, allocations: 11.94 kB / 386.5 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.2129, allocations: 242.6 kB / 386.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/0.2176, allocations: 0.9365 MB / 387.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.233, allocations: 10.21 MB / 397.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2342, allocations: 154.9 kB / 398 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.2344, allocations: 36 kB / 398.1 MB, free: 10.91 MB / 334.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 (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000741/0.2351, allocations: 273.6 kB / 398.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.2354, allocations: 106.7 kB / 398.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.2357, allocations: 108.9 kB / 398.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2357, allocations: 8 kB / 398.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.2357, allocations: 0 / 398.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.2358, allocations: 3.984 kB / 398.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005299/0.2411, allocations: 2.525 MB / 401.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2411, allocations: 4 kB / 401.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.2416, allocations: 127.9 kB / 401.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.2429, allocations: 452.8 kB / 401.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.2429, allocations: 16 kB / 401.7 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.2543, allocations: 10.11 MB / 411.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2543, allocations: 4.031 kB / 411.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.2588, allocations: 2.048 MB / 413.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.2592, allocations: 187.9 kB / 414 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.2594, allocations: 16 kB / 414 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.2602, allocations: 115.9 kB / 414.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.2604, allocations: 68.42 kB / 414.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.2604, allocations: 20 kB / 414.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008921/0.2613, allocations: 0.542 MB / 414.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2613, allocations: 0 / 414.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001499/0.2628, allocations: 359 kB / 415.1 MB, free: 8.867 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002324/0.2631, allocations: 135.1 kB / 415.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005524/0.2686, allocations: 2.131 MB / 417.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2686, allocations: 4 kB / 417.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.2705, allocations: 1.176 MB / 418.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.2719, allocations: 195.1 kB / 418.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.2778, allocations: 2.781 MB / 421.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.2788, allocations: 1.074 MB / 422.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005502/0.2794, allocations: 111.6 kB / 422.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.2795, allocations: 63.38 kB / 422.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.2796, allocations: 0 / 422.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Templates: time 0.2327/0.5122, allocations: 12.91 MB / 435.7 MB, free: 59.48 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